java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ahmed_samir.dialog/com.example.ahmed_samir.dialog.MainActivity}: android.content.res.Resources$NotFoundException: File from xml type layout resource ID #0x1020009

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

Solutions on the web

via Stack Overflow by Ahmed Samir
, 9 months ago
Unable to start activity ComponentInfo{com.example.ahmed_samir.dialog/com.example.ahmed_samir.dialog.MainActivity}: android.content.res.Resources$NotFoundException: File from xml type layout resource ID #0x1020009
via GitHub by mlc
, 1 year ago
Unable to start activity ComponentInfo{com.google.samples.apps.topeka/com.google.samples.apps.topeka.activity.CategorySelectionActivity}: android.content.res.Resources$NotFoundException: File res/drawable/avatar_1.xml from drawable resource ID #0x7f020000
via Stack Overflow by user5001783
, 1 year ago
Unable to start activity ComponentInfo{}: android.content.res.Resources$NotFoundException: Resource ID #0x7f03001a
via GitHub by jeffdgr8
, 1 year ago
Unable to start activity ComponentInfo{my.app/my.app.nav.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/gm__primary_dark.xml from color state list resource ID #0x7f02008a
via GitHub by mzorz
, 2 months ago
Unable to start activity ComponentInfo{org.wordpress.android/org.wordpress.android.ui.prefs.notifications.NotificationsSettingsActivity}: android.content.res.Resources$NotFoundException: File res/drawable/ic_mail_grey_24dp.xml from drawable resource ID #0x7f020193
via GitHub by Zadrox
, 1 year ago
Unable to start activity ComponentInfo{de.vanita5.twittnuker/de.vanita5.twittnuker.activity.support.HomeActivity}: android.content.res.Resources$NotFoundException: File from drawable resource ID #0x7f020247
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ahmed_samir.dialog/com.example.ahmed_samir.dialog.MainActivity}: android.content.res.Resources$NotFoundException: File from xml type layout resource ID #0x1020009
at android.content.res.AssetManager.openXmlAssetNative(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:485)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2678)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2651)
at android.content.res.Resources.getLayout(Resources.java:1082)
at android.view.LayoutInflater.inflate(LayoutInflater.java:412)
at com.android.internal.app.AlertController.setupView(AlertController.java:479)
at android.app.AlertDialog.onCreate(AlertDialog.java:356)
at android.app.Dialog.dispatchOnCreate(Dialog.java:373)
at android.app.Dialog.show(Dialog.java:274)
at com.example.ahmed_samir.dialog.MainActivity.showDialog(MainActivity.java:65)
at com.example.ahmed_samir.dialog.MainActivity.onCreate(MainActivity.java:42)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
3 times, 1 month ago
6 times, 4 months ago
7 times, 4 months ago
4 times, 1 year ago
14 more bugmates

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