Flex编译程序出现 Could not find compiled resource bundle 'SharedResources' for locale 'en_US'.

时间:2023-03-09 09:24:48
Flex编译程序出现 Could not find compiled resource bundle 'SharedResources' for locale 'en_US'.

Flex编译程序出现 Could not find compiled resource bundle 'SharedResources' for locale 'en_US'.

而且静态类居然为null,大家知道静态类是不需要显式初始化的

最后查了一通,发现这里

https://geonet.esri.com/thread/68125

按贴子里说的,在项目的附加编译参数里加上这个就好了

-locale -source-path=locale/{locale} -keep-all-type-selectors=true