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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error !
    via GitHub by NilakArgento
    ,
  • GitHub comment 73#77710943
    via GitHub by alex-soft-r
    ,
    • 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 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358) at android.app.ActivityThread.access$600(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:153) at android.app.ActivityThread.main(ActivityThread.java:5299) 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:833) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #64: Error inflating class at android.view.LayoutInflater.createView(LayoutInflater.java:613) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830) at android.view.LayoutInflater.rInflate(LayoutInflater.java:736) at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830) at android.view.LayoutInflater.rInflate(LayoutInflater.java:736) 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.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:288) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at com.example.navjotsingh.myapplication.SecondActivity.onCreate(SecondActivity.java:36) at android.app.Activity.performCreate(Activity.java:5182) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:587) ... 28 more Caused by: 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(Resources.java:1972) at android.content.res.TypedArray.getDrawable(TypedArray.java:601) at android.view.View.<init>(View.java:3419) at android.view.ViewGroup.<init>(ViewGroup.java:436) at android.widget.LinearLayout.<init>(LinearLayout.java:176) at android.widget.LinearLayout.<init>(LinearLayout.java:172) ... 31 more

    Users with the same issue

    justCodeit
    justCodeit17 times, last one,
    syntech16
    syntech161 times, last one,
    Indri Yunita
    Indri Yunita28 times, last one,
    gamebusterz
    gamebusterz7 times, last one,
    Unknown visitor1 times, last one,
    26 more bugmates