java.lang.RuntimeException

Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView


Solutions on the web53856

Solution icon of stackoverflow
Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #74: Error inflating class ImageView

Solution icon of github
via GitHub by AndrewIsOffline
, 6 months ago
Unable to start activity ComponentInfo{com.hiddenramblings.tagmo/com.hiddenramblings.tagmo.NfcActivity_}: android.view.InflateException: Binary XML file line #31: Error inflating class ImageView

Solution icon of github
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

Solution icon of stackoverflow
via Stack Overflow by Average Joe
, 1 year 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

Solution icon of github
Unable to start activity ComponentInfo{what.whatandroid/what.whatandroid.profile.ProfileActivity}: android.view.InflateException: Binary XML file line #135: Error inflating class ImageView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.example.brian.barter2/com.example.brian.barter2.furniture}: android.view.InflateException: Binary XML file line #31: Error inflating class ImageView

Solution icon of stackoverflow
Unable to start activity ComponentInfo{spinner.example.com.buacom/spinner.example.com.buacom.nav11}: android.view.InflateException: Binary XML file line #17: Error inflating class ImageView

Solution icon of github
Unable to start activity ComponentInfo{com.hiddenramblings.tagmo/com.hiddenramblings.tagmo.NfcActivity_}: android.view.InflateException: Binary XML file line #31: Error inflating class ImageView

Solution icon of github
via GitHub by rtyheji
, 2 months ago
Unable to start activity ComponentInfo{org.mewx.wenku8/org.mewx.wenku8.activity.SearchActivity}: android.view.InflateException: Binary XML file line #70: Error inflating class ImageView

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{a.batteryalarm/a.batteryalarm.MainActivity}: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2158) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2192) at android.app.ActivityThread.access$600(ActivityThread.java:147) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5085) 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:789) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #65: Error inflating class ImageView 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:140) at a.batteryalarm.MainActivity.onCreate(MainActivity.java:46) at android.app.Activity.performCreate(Activity.java:5082) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2122) ... 11 more Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_error.xml from drawable resource ID #0x7f02005e at android.content.res.Resources.loadDrawable(Resources.java:1936) at android.content.res.TypedArray.getDrawable(TypedArray.java:601) at android.view.View.<init>(View.java:3345) at android.widget.ImageView.<init>(ImageView.java:142) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:60) at android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:56) at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106) 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 Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:891) at android.graphics.drawable.Drawable.createFromXml(Drawable.java:828) at android.content.res.Resources.loadDrawable(Resources.java:1933) ... 33 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

5 times, 6 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
5 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
21 more bugmates