java - android studio resourcebundle missingresourceexception -


i'm trying migrate eclipse android studio. after work got app build missingresourcefileexception.

i have achievements.properties file in src folder of app. runs fine when build , run in eclipse.

in android studio following exception:

04-14 21:02:09.657  16105-16152/com.bla e/androidruntime﹕ fatal exception: glthread 37579 process: com.streefgames.rotatris.android, pid: 16105 java.util.missingresourceexception: can't find resource bundle 'achievements_en', key ''         @ java.util.resourcebundle.missingresourceexception(resourcebundle.java:238)         @ java.util.resourcebundle.getbundle(resourcebundle.java:230)         @ java.util.resourcebundle.getbundle(resourcebundle.java:159)         @ com.streefgames.rotatris.helpers.stringresourcemanager.<init>(stringresourcemanager.java:18) 

i have tried moving resource file around, adding resource files make bundle, different locales , other things found. still not working. idea what's wrong?

try creating resources folder within src/main folder , place properties file there. resources folder can created via context menu (new > folder > java resources folder). worked me. found hint @ android studio - include resourcebundles in module


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -