org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0

Super User | mad_ss | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Super User | 11 months ago | mad_ss
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  2. 0

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

    GitHub | 1 year ago | dkmeteor
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  3. 0

    Runtime Exception

    GitHub | 1 year ago | sunny7U
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot locate all audio files to store in list view

    Stack Overflow | 1 year ago | Jose Ortiz
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  6. 0

    App keeps crashing. Works on Galaxy s5 but not s4. Music Player

    Stack Overflow | 1 year ago | Jose Ortiz
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
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<vector> tag requires viewportWidth > 0

    at android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray()
  2. android.support.graphics
    VectorDrawableCompat.createFromXmlInner
    1. android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray(VectorDrawableCompat.java:535)
    2. android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:472)
    3. android.support.graphics.drawable.VectorDrawableCompat.createFromXmlInner(VectorDrawableCompat.java:436)
    3 frames
  3. Android v7
    Toolbar.<init>
    1. android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:635)
    2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:301)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:176)
    4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:171)
    5. android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:66)
    6. android.support.v7.widget.Toolbar.<init>(Toolbar.java:286)
    7. android.support.v7.widget.Toolbar.<init>(Toolbar.java:222)
    7 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  5. 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
  6. 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
  7. com.example.siyumi
    MainActivity.onCreate
    1. com.example.siyumi.newapplication.MainActivity.onCreate(MainActivity.java:14)
    1 frame
  8. 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
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  10. 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
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame