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

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web43841

  • Unable to start activity ComponentInfo android.content.res.Resources$NotFoundException: File res/layout/activity_splash.xml from xml type layout resource ID #0x7f040031
  • Unable to start activity ComponentInfo{com.ferg.awfulapp/com.ferg.awfulapp.ForumsIndexActivity}: android.content.res.Resources$NotFoundException: File res/layout/abs__screen_action_bar.xml from xml type layout resource ID #0x7f03000e
  • via Stack Overflow by ligi
    , 1 year ago
    Unable to start activity ComponentInfo{org.ligi.passandroid/org.ligi.passandroid.ui.PassListActivity}: android.content.res.Resources$NotFoundException: File res/layout/abc_screen_toolbar.xml from xml type layout resource ID #0x7f030013
  • Stack trace

    • 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 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(NativeStart.java)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    9 times, 3 weeks ago
    2 times, 1 month ago
    9 times, 1 month ago
    Unknown user
    2 times, 5 months ago
    Unknown user
    Once, 6 months ago
    208 more bugmates