java.lang.RuntimeException: Unable to start activity ComponentInfo android.content.res.Resources$NotFoundException: File res/layout/activity_splash.xml from xml type layout resource ID #0x7f040031

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

Samebug tips

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by fatih koçak
, 1 year ago
Unable to start activity ComponentInfo android.content.res.Resources$NotFoundException: File res/layout/activity_splash.xml from xml type layout resource ID #0x7f040031
via GitHub by roms
, 2 years ago
Unable to start activity ComponentInfo{org.benetech.android/org.geometerplus.android.fbreader.tips.TipsActivity}: android.content.res.Resources$NotFoundException: File res/layout/tip.xml from xml type layout resource ID #0x7f030029
via GitHub by DreierF
, 1 year ago
Unable to start activity ComponentInfo{de.dreier.mytargets/de.dreier.mytargets.activities.SimpleFragmentActivity$AboutActivity}: android.content.res.Resources$NotFoundException: File res/drawable-xhdpi-v4/about_icon_share.png from xml type xml resource ID #0x7f020057
via GitHub by bijoshtj
, 7 months ago
Unable to start activity ComponentInfo{com.hashcube.sqmtest/com.freshdesk.hotline.activity.CategoryListActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
via GitHub by vishal02gaur
, 1 year ago
Unable to start activity ComponentInfo{vishalgaur.com.streamingtest/vishalgaur.com.streamingtest.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013
via GitHub by fegl84
, 1 year ago
Unable to start activity ComponentInfo{de.heinekingmedia.stashcat/com.afollestad.materialcamera.CaptureActivity}: android.content.res.Resources$NotFoundException: File res/drawable/mcam_camera_rear.xml from drawable resource ID #0x7f0200a3
java.lang.RuntimeException: Unable to start activity ComponentInfo android.content.res.Resources$NotFoundException: File res/layout/activity_splash.xml from xml type layout resource ID #0x7f040031
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2313)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2365)
at android.app.ActivityThread.access$600(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5336)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at dalvik.system.NativeStart.main(NativeStart.java)

Users with the same issue

66 times, 3 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 3 months ago
468 times, 4 months ago

Write tip

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