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 Jaypee Tan
, 1 year ago
Unable to start activity ComponentInfo{com.example.jaypeetan.mftis/com.example.jaypeetan.mftis.main_menu}: android.view.InflateException: Binary XML file line #31: Error inflating class <unknown>
via Stack Overflow by Markus Schulz
, 2 years ago
Unable to start activity ComponentInfo{de.NullZero.ManiDroid/de.NullZero.ManiDroid.presentation.ManiDroidAppActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class de.NullZero.ManiDroid.presentation.views.TintableImageButton
via Stack Overflow by Zezo Ahmed
, 2 years ago
Unable to start activity ComponentInfo{win.example.windows/win.example.windows.Main}: android.view.InflateException: Binary XML file line #31: Error inflating class com.google.ads.AdView
via Stack Overflow by Gerry Low Jun Hao
, 2 years ago
Unable to start activity ComponentInfo{com.example.myfirstapp/com.example.myfirstapp.MainActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class button
via Stack Overflow by PasstissiPhone
, 2 years ago
Unable to start activity ComponentInfo{com.example.tpmenuapp/com.example.tpmenuapp.MainActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class fragment
via Stack Overflow by KeithG
, 2 years ago
Unable to start activity ComponentInfo{com.draco.dragonmessage/com.draco.dragonmessage.MainActivity}: android.view.InflateException: Binary XML file line #31: Error inflating class fragment
java.lang.OutOfMemoryError: 	at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:587)	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:422)	at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:840)	at android.content.res.Resources.loadDrawable(Resources.java:2192)	at android.content.res.Resources.loadDrawable(Resources.java:2075)	at android.content.res.TypedArray.getDrawable(TypedArray.java:602)	at android.widget.ImageView.(ImageView.java:129)	at android.widget.ImageView.(ImageView.java:119)	at java.lang.reflect.Constructor.constructNative(Native Method)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at android.view.LayoutInflater.createView(LayoutInflater.java:594)	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)	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.inflate(LayoutInflater.java:492)	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)	at android.view.LayoutInflater.inflate(LayoutInflater.java:353)	at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249)	at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)	at com.example.jaypeetan.mftis.main_menu.onCreate(main_menu.java:29)	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)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)	at dalvik.system.NativeStart.main(Native Method)