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

GitHub | erkangur | 7 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

    GitHub comment 157#234192167

    GitHub | 7 months ago | erkangur
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  2. 0

    Crash when Huawei T1(T1-701u)and oppo R7s take photo and try to select

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

    My first android app crashes [no change in code]

    Stack Overflow | 7 months ago | Dcase Mhrz
    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

    Could not find vectorDrawbles

    Stack Overflow | 7 months ago | Dunhill Dimaapi
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportWidth > 0
  6. 0

    My app keeps crashing

    GitHub | 6 months ago | RobbieArmz
    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
    AppCompatActivity.onCreate
    1. android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:708)
    2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:348)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:188)
    4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181)
    5. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:689)
    6. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:186)
    7. android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77)
    8. android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:83)
    9. android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146)
    10. android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28)
    11. android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41)
    12. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:193)
    13. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173)
    14. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511)
    15. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71)
    15 frames
  4. com.yalantis.ucrop
    UCropActivity.onCreate
    1. com.yalantis.ucrop.UCropActivity.onCreate(UCropActivity.java:104)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
    5. android.app.ActivityThread.access$800(ActivityThread.java:135)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5001)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames