java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xperia64.timidityae/com.xperia64.timidityae.SettingsActivity}: android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png from xml type layout resource ID #0x7f020000

GitHub | vi | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can't run the demo

    GitHub | 1 year ago | vi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xperia64.timidityae/com.xperia64.timidityae.SettingsActivity}: android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png from xml type layout resource ID #0x7f020000
  2. 0

    how to refer a layout file in external jar

    Stack Overflow | 4 years ago | SelvaMariappan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testapplication/com.example.test.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable-hdpi/ic_launcher.png from xml type layout resource ID #0x7f020000
  3. 0

    Android missing resource exception even though it's in the APK

    Stack Overflow | 11 months ago | Ventis
    android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png from xml type layout resource ID #0x7f020000
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 13#126917180

    GitHub | 2 years ago | fgiacomelli
    android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/icon.png from xml type layout resource ID #0x7f020000
  6. 0

    Android Crash - FileNotFoundException: Corrupt XML binary file

    Stack Overflow | 7 months ago | HBalyan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.CrashActivity}: android.content.res.Resources$NotFoundException: File res/layout/crash_layout.xml from xml type layout resource ID #0x7f03006d
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    Corrupt XML binary file

    at android.content.res.AssetManager.openXmlAssetNative()
  2. Android Platform
    LayoutInflater.inflate
    1. android.content.res.AssetManager.openXmlAssetNative(Native Method)
    2. android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:488)
    3. android.content.res.Resources.loadXmlResourceParser(Resources.java:2408)
    4. android.content.res.Resources.loadXmlResourceParser(Resources.java:2381)
    5. android.content.res.Resources.getLayout(Resources.java:986)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:395)
    6 frames
  3. android.support.v4
    PreferenceFragmentCompat.onCreateView
    1. android.support.v4.preference.PreferenceFragmentCompat.onCreateView(PreferenceFragmentCompat.java:104)
    1 frame
  4. Android Support v4
    FragmentActivity.onStart
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:1962)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1248)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738)
    5. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1613)
    6. android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:330)
    7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:547)
    7 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1175)
    2. android.app.Activity.performStart(Activity.java:5361)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2267)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2344)
    5. android.app.ActivityThread.access$1100(ActivityThread.java:139)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1255)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5294)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680)
    2 frames
  8. XposedBridge
    XposedBridge.main
    1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    1 frame
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame