java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hmoody.tounsi/com.hmoody.tounsi.TheGame}: android.view.InflateException: Binary XML file line #147: Error inflating class <unknown>

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 hmoody
, 1 year ago
Unable to start activity ComponentInfo{com.hmoody.tounsi/com.hmoody.tounsi.TheGame}: android.view.InflateException: Binary XML file line #147: Error inflating class <unknown>
via GitHub by kumar-aakash86
, 1 year ago
Unable to start activity ComponentInfo{andro.rdx.pharmac/andro.rdx.pharmac.activity.DashboardActivity}: android.view.InflateException: Binary XML file line #147: Error inflating class android.support.design.widget.NavigationView
via GitHub by pepyakin
, 2 years ago
Unable to start activity ComponentInfo{com.wheely.wheely/com.wheely.app.ui.home.HomeActivity}: android.view.InflateException: Binary XML file line #41: Error inflating class <unknown>
via GitHub by limingwei234
, 1 year ago
Unable to start activity ComponentInfo{com.mwli.demo2/com.mwli.demo2.app.main.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class <unknown>
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.warde.loyal/com.warde.loyal.MainActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class <unknown>
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{www.smartavenue.com/www.smartavenue.com.WeatherActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.hmoody.tounsi/com.hmoody.tounsi.TheGame}: android.view.InflateException: Binary XML file line #147: Error inflating class <unknown>
at android.graphics.drawable.StateListDrawable.inflate(StateListDrawable.java:181)
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:937)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:877)
at android.content.res.Resources.loadDrawable(Resources.java:2152)
at android.content.res.Resources.loadDrawable(Resources.java:2075)
at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
at android.view.View.(View.java:3577)
at android.widget.TextView.(TextView.java:640)
at android.widget.Button.(Button.java:107)
at android.widget.Button.(Button.java:103)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:594)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:669)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:694)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
at android.view.LayoutInflater.inflate(LayoutInflater.java:353)
at android.app.Activity.setContentView(Activity.java:2002)
at com.hmoody.tounsi.TheGame.onCreate(TheGame.java:109)
at android.app.Activity.performCreate(Activity.java:5411)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
at android.app.ActivityThread.access$800(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:149)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

4 times, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
54 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

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