android.content.res.Resources$NotFoundException: Resource ID #0x0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

android.content.res.Resources$NotFoundException: Resource ID #0x0
at android.content.res.Resources.getValue(Resources.java:1243)
at android.content.res.Resources.getDrawable(Resources.java:766)
at android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26)
at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321)
at android.support.v4.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:277)
at android.support.v4.app.ActionBarDrawerToggle.(ActionBarDrawerToggle.java:229)
at md5daa929973e91d615883be6545c9acbac.MainActivity.n_onCreate(Native Method)
at md5daa929973e91d615883be6545c9acbac.MainActivity.onCreate(MainActivity.java:29)
at android.app.Activity.performCreate(Activity.java:5975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:147)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)

Users with the same issue

19 times, 1 month ago
12 times, 2 months ago
34 times, 4 months ago
20 times, 5 months ago
4 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.