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

Stack Overflow | Farhan Ali | 2 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

    Android Stuido - 'App Stopped unfortunately'

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

    Unable to Inflate A Simple TextView

    Stack Overflow | 12 months ago | Saleh_Ninja
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  3. 0

    Exception in Pre-lollipop using Eclipse

    GitHub | 5 months ago | themhsami
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #2<vector> tag requires viewportWidth > 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    bug?

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

    Getting error layout not getting displayed as soon as clicked on button

    Stack Overflow | 1 year ago | Amar
    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:717)
    2. android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:654)
    3. android.support.graphics.drawable.VectorDrawableCompat.createFromXmlInner(VectorDrawableCompat.java:617)
    3 frames
  3. Android v7
    AppCompatActivity.onCreate
    1. android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:745)
    2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:365)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:195)
    4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:188)
    5. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:723)
    6. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:193)
    7. android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:81)
    8. android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:127)
    9. android.support.v7.app.AppCompatDelegateImplV9.<init>(AppCompatDelegateImplV9.java:147)
    10. android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:27)
    11. android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:53)
    12. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:205)
    13. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:185)
    14. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:525)
    15. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:74)
    15 frames
  4. com.dmdmax.testing
    MainActivity.onCreate
    1. com.dmdmax.testing.MainActivity.onCreate(MainActivity.java:12)
    1 frame
  5. 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
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  7. 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
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame