- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I create new android app few month ago, and today when I test in lenovo yoga tablet 2 android tablet it force close. its not open at all.
here is error report:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.infomindmigma.com.mindmigma/com.infomindmigma.com.mindmigma.Mindmigma2014}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020002 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2279) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2329) at android.app.ActivityThread.access$800(ActivityThread.java:159) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1268) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:149) at android.app.ActivityThread.main(ActivityThread.java:5283) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f020002 at android.content.res.Resources.getValue(Resources.java:1478) at android.content.res.Resources.getDrawable(Resources.java:860) at android.view.View.setBackgroundResource(View.java:15508) at org.apache.cordova.CordovaActivity$5.run(CordovaActivity.java:1070) at android.app.Activity.runOnUiThread(Activity.java:4752) at org.apache.cordova.CordovaActivity.showSplashScreen(CordovaActivity.java:1093) at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:370) at com.infomindmigma.com.mindmigma.Mindmigma2014.onCreate(Mindmigma2014.java:33) at android.app.Activity.performCreate(Activity.java:5270) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2243) ... 11 more
How I can fix this ?
Thank you..
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you build using Crosswalk? If so, did you choose the right architecture to install on your Yoga 2? The Yoga 2 tablet uses an Intel x86 processor. Your Samsung S4 uses an ARM processor. So you have to load the x86 Crosswalk image onto the Yoga 2 tablet, and the ARM image onto the Samsung S4. See this doc page for more details: https://software.intel.com/en-us/xdk/docs/submitting-multiple-crosswalk-apk-to-google-play-store
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Im experencing the same type of problem and get the same error messages. Anyone have any idea of a solution?
Sincerely
Marten
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This could be due to some programming logic which is trying to extract a resource that is not available. For example if you pass an integer to a location where string is expected, it will try to look for the corresponding string resource id - which it can't find.
If your app was working fine before, this could happen due to a different language in the phone for which your code doesn't have the asset for. Make sure your Lenova Yoga Tablet doesn't have some other language selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your answer, I've try that but it doesn't help.
I can use the app normally with my samsung s4 phone. I also can use other different language on that phone too, but its not working on my lenovo yoga tablet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you build using Crosswalk? If so, did you choose the right architecture to install on your Yoga 2? The Yoga 2 tablet uses an Intel x86 processor. Your Samsung S4 uses an ARM processor. So you have to load the x86 Crosswalk image onto the Yoga 2 tablet, and the ARM image onto the Samsung S4. See this doc page for more details: https://software.intel.com/en-us/xdk/docs/submitting-multiple-crosswalk-apk-to-google-play-store
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you.. it works with crosswalk buid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am having the same issue even though the app worked on the emulator. I am about to use Crosswalk build.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kindly uncheck full screen if it is checked n if its still doesnt work try n delete plugin folders n xml files n rebuild the app i hope it will help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem still persists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solution: Delete the plugins folder and re-build the app.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page