java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.navjotsingh.myapplication/com.example.navjotsingh.myapplication.SecondActivity}: android.view.InflateException: Binary XML file line #64: Error inflating class

Stack Overflow | Savi Kaur | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    when i run my applications using android studio1.5.1 and API23 it crashes on my phone samsung galaxy sduos

    Stack Overflow | 1 year ago | Sandeep Brar
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.andriod.myapplication/com.example.andriod.myapplication.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class android.support.design.widget.NavigationView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1970) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995) at android.app.ActivityThread.access$600(ActivityThread.java:128) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4517) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class android.support.design.widget.NavigationView at android.view.LayoutInflater.createView(LayoutInflater.java:606) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680) at android.view.LayoutInflater.rInflate(LayoutInflater.java:739) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:256) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.example.andriod.myapplication.MainActivity.onCreate(MainActivity.java:25) at android.app.Activity.performCreate(Activity.java:4470) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
  2. 0

    Crash program when using google play service api for accessing google map

    Stack Overflow | 3 years ago | user3730885
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.trymap2/com.example.trymap2.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
  3. 0

    my current location provider application is Suddenly force stop please find the error in my app source code?

    Stack Overflow | 7 days ago | Smk Son
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.live_pc.myapplication/com.example.live_pc.myapplication.MapsActivity}: android.view.InflateException: Binary XML file line #1: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Google map v2 application Show error

    Stack Overflow | 3 years ago | user3703052
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.please/com.example.please.MainActivity}: android.view.InflateException: Binary XML file line #3: Error inflating class fragment
  6. 0

    0.9.1 with ProGuard: InflateException

    GitHub | 10 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
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=0x7f020064 a=-1 r=0x7f020064}

    at android.content.res.Resources.loadDrawable()
  2. Android Platform
    LinearLayout.<init>
    1. android.content.res.Resources.loadDrawable(Resources.java:1972)
    2. android.content.res.TypedArray.getDrawable(TypedArray.java:601)
    3. android.view.View.<init>(View.java:3419)
    4. android.view.ViewGroup.<init>(ViewGroup.java:436)
    5. android.widget.LinearLayout.<init>(LinearLayout.java:176)
    6. android.widget.LinearLayout.<init>(LinearLayout.java:172)
    6 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    4. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
    6. android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
    7. android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    9. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    10. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    10 frames
  7. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  8. com.example.navjotsingh
    SecondActivity.onCreate
    1. com.example.navjotsingh.myapplication.SecondActivity.onCreate(SecondActivity.java:36)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5182)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)
    5. android.app.ActivityThread.access$600(ActivityThread.java:156)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:153)
    9. android.app.ActivityThread.main(ActivityThread.java:5299)
    9 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  11. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    2 frames
  12. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame