android.content.res.Resources$NotFoundException: File res/drawable/htc_window_background.xml from drawable resource ID #0x7f02005e

GitHub | sm1ddy | 1 month 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

    GitHub comment 293#267901379

    GitHub | 2 months ago | balizhuang2012
    android.content.res.Resources$NotFoundException: File r/m/lg.xml from drawable resource ID #0x7f020550
  2. 0

    How to set appcompat windowBackground to textview

    Stack Overflow | 2 years ago | Sai Kiran
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example/com.example.MainActivity}: android.content.res.Resources$NotFoundException: File res/layout-v16/music_popup.xml from drawable resource ID #0x7f04001a at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325) 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) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: android.content.res.Resources$NotFoundException: File res/layout-v16/music_popup.xml from drawable resource ID #0x7f04001a at android.content.res.Resources.loadDrawableForCookie(Resources.java:2479) at android.content.res.Resources.loadDrawable(Resources.java:2381) at android.content.res.Resources.getDrawable(Resources.java:787) at android.content.Context.getDrawable(Context.java:403) at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3630) at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3677) at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1943) at android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:148) at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59) at com.example.MainActivity.onCreate(MainActivity.java:107) at android.app.Activity.performCreate(Activity.java:5990) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
  3. 0

    Issue 201835 - android - build errors - Error:(67, 54) No resource found that matches the given name (at 'android:actionModeCloseDrawable' with value '@drawable/abc_ic_ab_back_mtrl_am_alpha'). - Android Open Source Project - Issue Tracker - Google Project Hosting

    google.com | 7 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mypackage.android/com.mypackage.android.MyActivity}: android.content.res.Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml from drawable resource ID #0x7f020013
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Odd Resource$NotFoundException

    Stack Overflow | 2 months ago | RU92Z
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xxxxxxxxxxx.xxxxxxxxxxx.xxxxxxx}: android.content.res.Resources$NotFoundException: File res/drawable/abc_vector_test.xml from drawable resource ID #0x7f020052
  6. 0

    Resource not found exception in 1.5 version

    Stack Overflow | 6 years ago | teja
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.build/com.example.build.ComBuild}: android.content.res.Resources$NotFoundException: File res/drawable/progress_large.xml from drawable resource ID #0x7f020003

    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. org.xmlpull.v1.XmlPullParserException

      Binary XML file line #4: <item> tag r equires a 'drawable' attribute or child tag defining a drawable

      at android.graphics.drawable.LayerDrawable.inflate()
    2. Android Platform
      Window.setBackgroundDrawableResource
      1. android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:164)
      2. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:937)
      3. android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
      4. android.content.res.Resources.loadDrawable(Resources.java:2137)
      5. android.content.res.Resources.getDrawable(Resources.java:711)
      6. android.view.Window.setBackgroundDrawableResource(Window.java:1036)
      6 frames
    3. com.android.settings
      Settings.onCreate
      1. com.android.settings.framework.app.HtcInternalPreferenceActivity.setupTranslucentStatusBar(HtcInternalPreferenceActivity.java:177)
      2. com.android.settings.framework.app.HtcInternalPreferenceActivity.onCreate(HtcInternalPreferenceActivity.java:156)
      3. com.android.settings.HtcAbsSettings.onCreate(HtcAbsSettings.java:135)
      4. com.android.settings.Settings.onCreate(Settings.java:233)
      4 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5312)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2395)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2495)
      5. android.app.ActivityThread.access$800(ActivityThread.java:153)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:157)
      9. android.app.ActivityThread.main(ActivityThread.java:5633)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:896)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:712)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame