Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Launching exception after disclaimer accepted #118

Closed
Merguez22 opened this issue Jan 15, 2015 · 2 comments
Closed

Launching exception after disclaimer accepted #118

Merguez22 opened this issue Jan 15, 2015 · 2 comments

Comments

@Merguez22
Copy link

Hi,

I have the following error on my Samsung S4 with Android 4.4.2 after i have accepted the disclaimer:

01-15 14:28:57.298 16240-16240/com.google.samples.apps.iosched E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.google.samples.apps.iosched, PID: 16240 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.samples.apps.iosched/com.google.samples.apps.iosched.ui.BrowseSessionsActivity}: android.content.res.Resources$NotFoundException: File res/drawable/selected_navdrawer_item_background.xml from drawable resource ID #0x7f0200eb at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363) at android.app.ActivityThread.access$900(ActivityThread.java:161) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5356) 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:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: File res/drawable/selected_navdrawer_item_background.xml from drawable resource ID #0x7f0200eb at android.content.res.Resources.loadDrawable(Resources.java:3042) at android.content.res.Resources.getDrawable(Resources.java:1613) at android.view.View.setBackgroundResource(View.java:16144) at com.google.samples.apps.iosched.ui.BaseActivity.formatNavDrawerItem(BaseActivity.java:1365) at com.google.samples.apps.iosched.ui.BaseActivity.makeNavDrawerItem(BaseActivity.java:1335) at com.google.samples.apps.iosched.ui.BaseActivity.createNavDrawerItems(BaseActivity.java:508) at com.google.samples.apps.iosched.ui.BaseActivity.populateNavDrawer(BaseActivity.java:486) at com.google.samples.apps.iosched.ui.BaseActivity.setupNavDrawer(BaseActivity.java:409) at com.google.samples.apps.iosched.ui.BaseActivity.onPostCreate(BaseActivity.java:541) at com.google.samples.apps.iosched.ui.BrowseSessionsActivity.onPostCreate(BrowseSessionsActivity.java:191) at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1168) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)             at android.app.ActivityThread.access$900(ActivityThread.java:161)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:157)             at android.app.ActivityThread.main(ActivityThread.java:5356)             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:1265)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)             at dalvik.system.NativeStart.main(Native Method) Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #22: <item> tag requires a 'drawable' attribute or child tag defining a drawable at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:164) at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:973) at android.graphics.drawable.Drawable.createFromXml(Drawable.java:913) at android.content.res.Resources.loadDrawable(Resources.java:3038)             at android.content.res.Resources.getDrawable(Resources.java:1613)             at android.view.View.setBackgroundResource(View.java:16144)             at com.google.samples.apps.iosched.ui.BaseActivity.formatNavDrawerItem(BaseActivity.java:1365)             at com.google.samples.apps.iosched.ui.BaseActivity.makeNavDrawerItem(BaseActivity.java:1335)             at com.google.samples.apps.iosched.ui.BaseActivity.createNavDrawerItems(BaseActivity.java:508)             at com.google.samples.apps.iosched.ui.BaseActivity.populateNavDrawer(BaseActivity.java:486)             at com.google.samples.apps.iosched.ui.BaseActivity.setupNavDrawer(BaseActivity.java:409)             at com.google.samples.apps.iosched.ui.BaseActivity.onPostCreate(BaseActivity.java:541)             at com.google.samples.apps.iosched.ui.BrowseSessionsActivity.onPostCreate(BrowseSessionsActivity.java:191)             at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1168)             at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288)             at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)             at android.app.ActivityThread.access$900(ActivityThread.java:161)             at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)             at android.os.Handler.dispatchMessage(Handler.java:102)             at android.os.Looper.loop(Looper.java:157)             at android.app.ActivityThread.main(ActivityThread.java:5356)             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:1265)             at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)             at dalvik.system.NativeStart.main(Native Method)

@PaulRashidi
Copy link
Contributor

Out of curiosity what was the issue?

@romannurik
Copy link
Contributor

It's a dup of another issue assigned to me (my bug).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants