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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Savi Kaur
, 8 months ago
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
via questionclubs.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.my_autrui/com.example.my_autrui.Login}: android.view.InflateException: Binary XML file line #64: Error inflating class com.facebook.widget.LoginButton
via Stack Overflow by Massa
, 2 years ago
Unable to start activity ComponentInfo{com.example.my_autrui/com.example.my_autrui.Login}: android.view.InflateException: Binary XML file line #64: Error inflating class com.facebook.widget.LoginButton
via Stack Overflow by HGPB
, 2 years ago
Unable to start activity ComponentInfo{.MainActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class com.android.internal.widget.ActionBarContainer
via Stack Overflow by Mert Saygı
, 2 years ago
Unable to start activity ComponentInfo{com.Troyateck.sucukevim/com.Troyateck.sucukevim.Product}: android.view.InflateException: Binary XML file line #134: Error inflating class
via Stack Overflow by Rockyfish
, 1 year ago
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #74: Error inflating class ImageView
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.(View.java:3419)
at android.view.ViewGroup.(ViewGroup.java:436)
at android.widget.LinearLayout.(LinearLayout.java:176)
at android.widget.LinearLayout.(LinearLayout.java:172)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
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 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)
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)

Users with the same issue

28 times, 9 months ago
17 times, 10 months ago
7 times, 11 months ago
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.