java.lang.RuntimeException: Unable to start activity ComponentInfo{android/com.android.internal.app.ChooserActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class (ActivityThread.java:2305)

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 grokbase.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{android/com.android.internal.app.ChooserActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class (ActivityThread.java:2305)
via Stack Overflow by Mohamed Abozaid
, 1 year ago
Unable to start activity ComponentInfo{com.arabnewtech.a22.zoodrealstate/com.arabnewtech.a22.zoodrealstate.Home}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.prgguru.example/com.prgguru.example.MainActivity}: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.prgguru.example/com.prgguru.example.HomeActivity}; have you declared
via Stack Overflow by Dan13_
, 1 year ago
Unable to start activity ComponentInfo{com.***.********/com.***.********.MenuActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2245)
via Stack Overflow by Shonu93
, 2 years ago
Unable to start activity ComponentInfo{com.shoaiblalich.pinchme/com.shoaiblalich.pinchme.Main}: android.database.sqlite.SQLiteException: near "LOCALIZED": syntax error (code 1): , while compiling: SELECT _id, display_name FROM
via Stack Overflow by Shirish Herwade
, 2 years ago
Unable to start activity ComponentInfo{com.jd.activity/com.jd.activity.TrackActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class fragment 02-24 17:50:47.437: E/AndroidRuntime(7637): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2262)
java.lang.OutOfMemoryError:
at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:832)
at android.content.res.Resources.loadDrawable(Resources.java:2988)
at android.content.res.Resources.getDrawable(Resources.java:1558)
at android.widget.EdgeEffect.(AbsListView.java:1220)
at android.view.View.(View.java:3528)
at android.view.ViewGroup.(AdapterView.java:236)
at android.widget.AbsListView.(GridView.java:110)
at android.widget.GridView.(GridView.java:106)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:600)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
at com.android.internal.app.ResolverActivity.onCreate(ResolverActivity.java:210)
at android.app.Activity.performCreate(Activity.java:5372)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2267)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2359)
at android.app.ActivityThread.access$700(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1326)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5455)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Users with the same issue

9 times, 9 months ago
3 times, 1 year ago
2 times, 1 year ago
34 times, 1 year ago
Once, 1 year ago

Write tip

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