java.lang.RuntimeException: Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView

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 Payal Garg
, 1 year ago
Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView
via Stack Overflow by Rockyfish
, 1 year ago
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #74: Error inflating class ImageView
via Stack Overflow by Average Joe
, 2 years ago
Unable to start activity ComponentInfo{net.androidbootcamp.quickhealthysnackideasapp/net.androidbootcamp.quickhealthysnackideasapp.MainActivity}: android.view.InflateException: Binary XML file line #21: Error inflating class Imageview
via Stack Overflow by WindRider
, 1 year ago
Unable to start activity ComponentInfo{com.buildware.geoworld/com.buildware.geocoord.activities.DashBoardActivity}: android.view.InflateException: Binary XML file line #212: Error inflating class ImageView
via Stack Overflow by I.Ardel
, 9 months ago
Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView
via GitHub by Dalamo
, 1 year ago
Unable to start activity ComponentInfo{me.ccrama.redditslide/me.ccrama.redditslide.Activities.SubredditOverview}: android.view.InflateException: Binary XML file line #43: Error inflating class ImageView
java.lang.RuntimeException: Unable to start activity ComponentInfo{dextrosoft.com.schoolmobileapp/dextrosoft.com.schoolmobileapp.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class ImageView
at android.content.res.Resources.loadDrawable(Resources.java:1927)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.(View.java:3393)
at android.widget.ImageView.(ImageView.java:114)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:60)
at android.support.v7.widget.AppCompatImageView.(AppCompatImageView.java:56)
at android.support.v7.internal.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:98)
at android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:926)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
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.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:257)
at dextrosoft.com.schoolmobileapp.MainActivity.onCreate(MainActivity.java:22)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2186)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2272)
at android.app.ActivityThread.access$600(ActivityThread.java:171)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5216)
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:798)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
7 times, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
28 more bugmates

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