- Home /
Google Play OBB Downloader crash with "android.content.res.Resources$NotFoundException: Resource ID #0x0"
I am trying to use GooglePlayDownloader. When I call GooglePlayDownloader.FetchOBB(); the app crash.
This exception appear to be related with the activity trying to get the interface elements by its ID, but the Jar file is untouched from unity store. It is a very old device (2.3.7), but appear to be ok with minimal version.
I am lost... (or I need to take a brake :P)
Log files. I had only replaced my bundle per XXX.
D/Unity (19715): surfaces: detach glview
W/ResourceType(19715): No package identifier when getting value for resource number 0x00000000
D/AndroidRuntime(19715): Shutting down VM
W/dalvikvm(19715): threadid=1: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime(19715): FATAL EXCEPTION: main
E/AndroidRuntime(19715): java.lang.Error: FATAL EXCEPTION [main]
E/AndroidRuntime(19715): Unity version : 4.2.0f4
E/AndroidRuntime(19715): Device model : Motorola Milestone
E/AndroidRuntime(19715): Device fingerprint: MOTO_RTEU/umts_sholes/umts_sholes/sholes:2.2.1/SHOLS_U2_05.26.3/296482885:user/release-keys
E/AndroidRuntime(19715):
E/AndroidRuntime(19715): Caused by: java.lang.RuntimeException: Unable to start activity ComponentInfo{XXXXXX/com.unity3d.plugin.downloader.UnityDownloaderActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x0
E/AndroidRuntime(19715): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1768)
E/AndroidRuntime(19715): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
E/AndroidRuntime(19715): at android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime(19715): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
E/AndroidRuntime(19715): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(19715): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(19715): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime(19715): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(19715): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(19715): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
E/AndroidRuntime(19715): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
E/AndroidRuntime(19715): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(19715): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0
E/AndroidRuntime(19715): at android.content.res.Resources.getValue(Resources.java:929)
E/AndroidRuntime(19715): at android.content.res.Resources.loadXmlResourceParser(Resources.java:1955)
E/AndroidRuntime(19715): at android.content.res.Resources.getLayout(Resources.java:768)
E/AndroidRuntime(19715): at android.view.LayoutInflater.inflate(LayoutInflater.java:318)
E/AndroidRuntime(19715): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime(19715): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:213)
E/AndroidRuntime(19715): at android.app.Activity.setContentView(Activity.java:1657)
E/AndroidRuntime(19715): at com.unity3d.plugin.downloader.UnityDownloaderActivity.onCreate(Unknown Source)
E/AndroidRuntime(19715): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(19715): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
E/AndroidRuntime(19715): ... 11 more
W/ActivityManager( 2084): Force finishing activity XXXXXXX/com.unity3d.plugin.downloader.UnityDownloaderActivity
W/ActivityManager( 2084): Force finishing activity XXXXXXX/sisso.store.StoreUnityPlayerNativeActivity
W/ActivityManager( 2084): Activity pause timeout for HistoryRecord{4054b7c8 XXXXXXXXX/com.unity3d.plugin.downloader.UnityDownloaderActivity}
Answer by Sisso · Oct 15, 2013 at 11:42 AM
The problem is strings.xml conflicts between plugins.
http://answers.unity3d.com/questions/505688/obb-loading-crash-on-certain-devices.html
Your answer
Follow this Question
Related Questions
Unity 3D split apk not loading the .OBB file 0 Answers
Google Play OBB Downloader still needed? 4 Answers
Android Obb Generation executables 0 Answers
Problem with obb 0 Answers