• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Sisso · Sep 26, 2013 at 08:41 PM · androidobbgoogle-play-store

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}


Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

16 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 3D split apk not loading the .OBB file 0 Answers

Google Play OBB Downloader still needed? 4 Answers

About adding GooglePlayLicensing to your game 0 Answers

Unity stalls when pushing obb expansion file to Android device 0 Answers

Extracting Dataset (AR) from OBB (Expansion Files) 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges