java.lang.RuntimeException: Unable to start activity ComponentInfo{org.open311.android/org.open311.android.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable-anydpi-v21/ic_add_alert_white_24dp.xml from drawable resource ID #0x7f02005e

GitHub | milovanderlinden | 2 weeks ago
  1. 0

    How to set appcompat windowBackground to textview

    Stack Overflow | 1 year 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)
  2. 0

    Android : String resource not found while trying to get resource in List activity class

    Stack Overflow | 2 years ago | We are Borg
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.TestLunch/com.example.TestLunch.Activity.RestaurantList}: android.content.res.Resources$NotFoundException: String resource ID #0x7f04000e
  3. 0

    Android app unable to start activity componentinfo android.content.res.Resources$NotFound

    Stack Overflow | 5 months ago | Yasmine Mohamed
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sham_tech.lastchance/com.example.sham_tech.lastchance.MainActivity}: 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

    GitHub comment 128#256539706

    GitHub | 3 months ago | Witype
    android.content.res.Resources$NotFoundException: String resource ID #0x7f08002c
  6. 0

    inflate a view without XML in Android

    Stack Overflow | 2 years ago | akash kubavat
    java.lang.RuntimeException: Unable to start activity ComponentInfo{my.package.class}: android.content.res.Resources$NotFoundException: Resource ID #0x1d97b
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.lang.NumberFormatException

    Invalid float: "1.1.89"

    at java.lang.StringToReal.invalidReal()
  2. Java RT
    Float.parseFloat
    1. java.lang.StringToReal.invalidReal(StringToReal.java:63)
    2. java.lang.StringToReal.initialParse(StringToReal.java:160)
    3. java.lang.StringToReal.parseFloat(StringToReal.java:323)
    4. java.lang.Float.parseFloat(Float.java:306)
    4 frames
  3. Android Platform
    Context.getDrawable
    1. android.util.PathParser.getFloats(PathParser.java:178)
    2. android.util.PathParser.createNodesFromPathData(PathParser.java:59)
    3. android.graphics.drawable.VectorDrawable$VFullPath.updateStateFromTypedArray(VectorDrawable.java:1439)
    4. android.graphics.drawable.VectorDrawable$VFullPath.inflate(VectorDrawable.java:1421)
    5. android.graphics.drawable.VectorDrawable.inflateInternal(VectorDrawable.java:542)
    6. android.graphics.drawable.VectorDrawable.inflate(VectorDrawable.java:458)
    7. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1150)
    8. android.graphics.drawable.Drawable.createFromXml(Drawable.java:1063)
    9. android.content.res.Resources.loadDrawableForCookie(Resources.java:3719)
    10. android.content.res.Resources.loadDrawable(Resources.java:3603)
    11. android.content.res.Resources.getDrawable(Resources.java:1852)
    12. android.content.Context.getDrawable(Context.java:410)
    12 frames
  4. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26)
    2. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:344)
    2 frames
  5. org.open311.android
    ViewPagerAdapter.getPageTitle
    1. org.open311.android.adapters.ViewPagerAdapter.getPageTitle(ViewPagerAdapter.java:49)
    1 frame
  6. android.support.design
    TabLayout.setupWithViewPager
    1. android.support.design.widget.TabLayout.populateFromPagerAdapter(TabLayout.java:903)
    2. android.support.design.widget.TabLayout.setPagerAdapter(TabLayout.java:894)
    3. android.support.design.widget.TabLayout.setupWithViewPager(TabLayout.java:807)
    4. android.support.design.widget.TabLayout.setupWithViewPager(TabLayout.java:768)
    5. android.support.design.widget.TabLayout.setupWithViewPager(TabLayout.java:746)
    5 frames
  7. org.open311.android
    MainActivity.onCreate
    1. org.open311.android.MainActivity.onCreate(MainActivity.java:94)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6288)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2642)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2754)
    5. android.app.ActivityThread.access$900(ActivityThread.java:177)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:5938)
    9 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    2 frames