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


Solutions on the web

Solution icon of stackoverflow
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

Solution icon of stackoverflow
via Stack Overflow by Massa
, 1 year 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

Solution icon of web
via questionclubs.com by Unknown author, 1 year 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

Solution icon of github
via GitHub by timkoers
, 10 months ago
Unable to start activity ComponentInfo{MainActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class org.codeandmagic.android.gauge.GaugeView

Solution icon of github
Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference

Solution icon of stackoverflow
via Stack Overflow by membersound
, 1 year ago
Unable to start activity ComponentInfo{MyActivity}: android.view.InflateException: Binary XML file line #42: Error inflating class fragment

Solution icon of stackoverflow
Unable to start activity ComponentInfo{app.OSMMapViewActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.osmdroid.views.MapView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #74: Error inflating class ImageView

Solution icon of stackoverflow
via Stack Overflow by Jo Jo Roid
, 10 months ago
Unable to start activity ComponentInfo{........activity.MapActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class com.skobbler.ngx.map.SKMapViewHolder

Solution icon of stackoverflow
via Stack Overflow by MARM
, 7 months ago
Unable to start activity ComponentInfo{*}: android.view.InflateException: Binary XML file line #102: Error inflating class Button

Stack trace

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

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

17 times, 7 months ago
Once, 1 year ago
28 times, 6 months ago
7 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
26 more bugmates