java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.siyumi.newapplication/com.example.siyumi.newapplication.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar

Super User | mad_ss | 7 months ago
  1. 0

    Why "Unfortunately your app has stopped" message appears in emulator in genymotion and how to avoid it

    Super User | 7 months ago | mad_ss
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.siyumi.newapplication/com.example.siyumi.newapplication.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
  2. 0

    Can't create an activity with an ActionBar

    Stack Overflow | 9 months ago | Yonatan Nir
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.testing.name/com.testing.name.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
  3. 0

    My Android App will not work on the real device?

    Stack Overflow | 9 months ago | Dominik
    java.lang.RuntimeException: Unable to start activity ComponentInfo{dominik.de.diefitnessapp/dominik.de.diefitnessapp.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.v7.widget.Toolbar
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    crash with "com.android.support:appcompat-v7:23.2.0"

    GitHub | 9 months ago | dkmeteor
    java.lang.RuntimeException: Unable to start activity ComponentInfo{io.zouyin.app/com.yalantis.ucrop.UCropActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class android.support.v7.widget.Toolbar
  6. 0

    Runtime Exception

    GitHub | 9 months ago | sunny7U
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ll.com.hellochart/hellocharts.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar

  1. Saravana Kumar Chinnaraj 6 times, last 8 months ago
  2. Roberto Tomás 2 times, last 8 months ago
  3. Nisha Singh 2 times, last 8 months ago
  4. dontdropmybass 2 times, last 4 months ago
  5. Akshay 4 times, last 5 months ago
3 more registered users
24 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xmlpull.v1.XmlPullParserException

    Binary XML file line #17: invalid drawable tag vector

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    Resources.getDrawable
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:897)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:837)
    3. android.content.res.Resources.loadDrawable(Resources.java:2087)
    4. android.content.res.Resources.getDrawable(Resources.java:695)
    4 frames
  3. Android v7
    TintResources.getDrawable
    1. android.support.v7.widget.TintResources.superGetDrawable(TintResources.java:48)
    2. android.support.v7.widget.AppCompatDrawableManager.onDrawableLoadedFromResources(AppCompatDrawableManager.java:372)
    3. android.support.v7.widget.TintResources.getDrawable(TintResources.java:44)
    3 frames
  4. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:324)
    1 frame
  5. Android v7
    Toolbar.<init>
    1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:178)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:171)
    3. android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:66)
    4. android.support.v7.widget.Toolbar.<init>(Toolbar.java:286)
    5. android.support.v7.widget.Toolbar.<init>(Toolbar.java:222)
    5 frames
  6. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  7. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:594)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    7 frames
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:380)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:300)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:264)
    4. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:130)
    4 frames
  9. com.example.siyumi
    MainActivity.onCreate
    1. com.example.siyumi.newapplication.MainActivity.onCreate(MainActivity.java:14)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5133)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
    5. android.app.ActivityThread.access$600(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5103)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame