Android Support Library with the "Resources Not Found" exception thrown

Got this crash report from multiple users. So far, no one has answered my subsequent emails asking what they do when the app crashed. Is this familiar to anyone?

USER_COMMENT= USER_CRASH_DATE=2013-02-11T16:45:01.000-06:00 PACKAGE_NAME=com.bandsintown APP_VERSION_NAME=3.2.1 ANDROID_VERSION=4.1.2 PHONE_MODEL=Galaxy Nexus STACK_TRACE=android.content.res.Resources$NotFoundException: Unable to find resource ID #0x10101 at android.content.res.Resources.getResourceName(Resources.java:1668) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:903) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1088) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1444) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:429) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4931) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558) at dalvik.system.NativeStart.main(Native Method) 

Yes, there is nothing in the stack trace regarding my application, instead it is just related to the support library. I ran into problems until one crash causes a 2nd crash and a second crash causes the one reported by ACRA. This may be the case. But I thought it worth asking here if anyone else sees this and finds a one-stop solution.

Thanks for the help.

+4
source share
1 answer

In Eclipse: Go to the β€œFile” menu β†’ β€œOpen File” β†’ find the β€œProject” directory in the workspace β†’ select the .classpath openit file β†’

Keep only below entries in this file and delete all others

 `<?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path="src"/> <classpathentry kind="src" path="gen"/> <classpathentry kind="lib" path="your dir path without space.../extras/android/support /v4/android-support-v4.jar"/> <classpathentry kind="output" path="bin/classes"/> </classpath> 

Save the file. then in Eclipse-> Package Explorer β†’ right click Project β†’ Android tools β†’ Fix Project Properties.

This will add all the necessary files for the project if you want to cross-check the .classpath file and check for updates in it.

Run the project successfully :)

0
source

All Articles