java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jhalmurilab.nsugenie/com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa}: android.view.InflateException: Binary XML file line #119: Error inflating class Button


Solutions on the web17681

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.jhalmurilab.nsugenie/com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa}: android.view.InflateException: Binary XML file line #119: Error inflating class Button

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

Solution icon of stackoverflow
via Stack Overflow by krishan
, 1 year ago
Unable to start activity ComponentInfo{com.feelinginhell/com.feelinginhell.MainActivity}: android.view.InflateException: Binary XML file line #20: Error inflating class Button

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.helikanon.firstapp/com.helikanon.firstapp.activities.MainActivity}: android.view.InflateException: Binary XML file line #62: Error inflating class Button

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.application.camera.api/com.application.camera.api.MakePhotoActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class button

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.whackachav/com.example.whackachav.HowTo}: android.view.InflateException: Binary XML file line #101: Error inflating class button

Solution icon of stackoverflow
via Stack Overflow by Gurjit
, 1 year ago
Unable to start activity ComponentInfo{www.gurjit.taskmanager/www.gurjit.taskmanager.MainActivity}: android.view.InflateException: Binary XML file line #29: Error inflating class button

Solution icon of stackoverflow
via Stack Overflow by user1926907
, 1 year ago
Unable to start activity ComponentInfo{com.example.germanlaundryfinal/com.example.germanlaundryfinal.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class

Solution icon of stackoverflow
via Stack Overflow by Jacques Krause
, 1 year ago
Unable to start activity ComponentInfo{com.candyx.testapp.activity.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

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

Stack trace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jhalmurilab.nsugenie/com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa}: android.view.InflateException: Binary XML file line #119: Error inflating class Button
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
	at android.app.ActivityThread.access$600(ActivityThread.java:141)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:5041)
	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:793)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #119: Error inflating class Button
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
	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:143)
	at com.jhalmurilab.nsugenie.totalcgpa.TotalCgpa.onCreate(TotalCgpa.java:47)
	at android.app.Activity.performCreate(Activity.java:5104)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
	... 11 more
Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02007f a=-1 r=0x7f02007f}
	at android.content.res.Resources.loadDrawable(Resources.java:1932)
	at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
	at android.view.View.<init>(View.java:3330)
	at android.widget.TextView.<init>(TextView.java:590)
	at android.widget.Button.<init>(Button.java:107)
	at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:66)
	at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:62)
	at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:109)
	at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1021)
	at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1080)
	at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:47)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
	... 23 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

3 times, 10 months ago
28 times, 6 months ago
17 times, 7 months ago
7 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
27 more bugmates