java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sher.jasonrecyclerdemo/com.example.sher.jasonrecyclerdemo.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class android.support.v4.view.ViewPager

Stack Overflow | Sherzad | 3 months ago
  1. 0

    InflateException: Binary XML file line #37: Error inflating class android.support.v4.view.ViewPager

    Stack Overflow | 3 months ago | Sherzad
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sher.jasonrecyclerdemo/com.example.sher.jasonrecyclerdemo.MainActivity}: android.view.InflateException: Binary XML file line #37: Error inflating class android.support.v4.view.ViewPager
  2. 0

    Resources$NotFoundException when using multidex on kitkat

    Stack Overflow | 2 years ago | mntgoat
    java.lang.RuntimeException: Unable to start activity ComponentInfo{mypackage/mypackage.ui.ServerListActivity}: android.view.InflateException: Binary XML file line #43: Error inflating class mypackage.ui.MiniController
  3. 0

    NavigationDrawerFragment using RecyclerView does not work

    Stack Overflow | 1 year ago | ThunderRoid
    android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02004f a=-1 r=0x7f02004f}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not able to resolve Error inflating class android.support.v7.widget.RecyclerView

    Stack Overflow | 1 year ago | user2198400
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.faiz.news/com.faiz.news.ui.MainActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class android.support.v7.widget.RecyclerView
  6. 0

    android.view.InflateException: Binary XML file line #19: Error inflating class <unknown>

    GitHub | 2 years ago | tevjef
    android.view.InflateException: Binary XML file line #19: Error inflating class <unknown>

  1. Macapon 1 times, last 8 months ago
2 unregistered visitors
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. android.content.res.Resources$NotFoundException

    Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02004d a=-1 r=0x7f02004d}

    at android.content.res.Resources.loadDrawable()
  2. Android Platform
    ViewGroup.<init>
    1. android.content.res.Resources.loadDrawable(Resources.java:2106)
    2. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    3. android.view.View.<init>(View.java:3596)
    4. android.view.View.<init>(View.java:3526)
    5. android.view.ViewGroup.<init>(ViewGroup.java:464)
    5 frames
  3. Android Support v4
    ViewPager.<init>
    1. android.support.v4.view.ViewPager.<init>(ViewPager.java:396)
    1 frame
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    6 frames
  6. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
    2 frames
  7. com.example.sher
    MainActivity.onCreate
    1. com.example.sher.jasonrecyclerdemo.MainActivity.onCreate(MainActivity.java:87)
    1 frame
  8. 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:2552)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2653)
    5. android.app.ActivityThread.access$800(ActivityThread.java:156)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1355)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:157)
    9. android.app.ActivityThread.main(ActivityThread.java:5872)
    9 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame