java.lang.RuntimeException: Unable to start activity ComponentInfo{com.md.emenox/com.afollestad.polar.ui.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/selector_tabs.xml from drawable resource ID #0x7f020087

GitHub | mddanishansari | 5 months ago
  1. 0

    App crashes on KitKat with the latest polar update 1.60

    GitHub | 5 months ago | mddanishansari
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.md.emenox/com.afollestad.polar.ui.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable/selector_tabs.xml from drawable resource ID #0x7f020087
  2. 0

    Android application crashing when running on device but works in emulator

    Stack Overflow | 10 months ago | Convict Moody
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hscs.ibd.ibdsystem/com.hscs.ibd.ibdsystem.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
  3. 0

    Getting error while running the android sample project provided by TENSORFLOW api

    Stack Overflow | 12 months ago | RUTURAJ Raval
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.tensorflow.demo/org.tensorflow.demo.CameraActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class com.android.internal.widget.ActionBarView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 128#157651800

    GitHub | 1 year ago | TunTunAg
    java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
  6. 0

    GitHub comment 275#174421482

    GitHub | 10 months ago | S--Minecraft
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.CreateRepositoryActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class Button

    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.UnsupportedOperationException

      Can't convert to color: type=0x2

      at android.content.res.TypedArray.getColor()
    2. Android Platform
      XResources.getDrawable
      1. android.content.res.TypedArray.getColor(TypedArray.java:327)
      2. android.content.res.XResources$XTypedArray.getColor(XResources.java:889)
      3. android.graphics.drawable.GradientDrawable.inflate(GradientDrawable.java:970)
      4. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:990)
      5. android.graphics.drawable.Drawable.createFromXml(Drawable.java:930)
      6. android.content.res.Resources.loadDrawable(Resources.java:3364)
      7. android.content.res.Resources.getDrawable(Resources.java:1864)
      8. android.content.res.XResources.getDrawable(XResources.java:521)
      9. android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:176)
      10. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:990)
      11. android.graphics.drawable.Drawable.createFromXml(Drawable.java:930)
      12. android.content.res.Resources.loadDrawable(Resources.java:3364)
      13. android.content.res.Resources.getDrawable(Resources.java:1864)
      14. android.content.res.XResources.getDrawable(XResources.java:521)
      14 frames
    3. Android Support v4
      ContextCompat.getDrawable
      1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:354)
      1 frame
    4. Android v7
      AppCompatDrawableManager.getDrawable
      1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:193)
      2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181)
      2 frames
    5. android.support.design
      TabLayout.newTab
      1. android.support.design.widget.TabLayout$TabView.<init>(TabLayout.java:1510)
      2. android.support.design.widget.TabLayout.createTabView(TabLayout.java:926)
      3. android.support.design.widget.TabLayout.newTab(TabLayout.java:563)
      3 frames
    6. com.afollestad.polar
      MainActivity.onCreate
      1. com.afollestad.polar.ui.MainActivity.addTab(MainActivity.java:465)
      2. com.afollestad.polar.ui.MainActivity.setupTabs(MainActivity.java:401)
      3. com.afollestad.polar.ui.MainActivity.onCreate(MainActivity.java:128)
      3 frames
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5541)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2411)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2507)
      5. android.app.ActivityThread.access$900(ActivityThread.java:172)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:146)
      9. android.app.ActivityThread.main(ActivityThread.java:5692)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
      2 frames
    10. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
      1 frame
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame