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

  1. 0

    Appcompat Activity Giving issues for version 24.0.0

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

    Get [Unfortunately app stopped working] with Every new project in android studio, But not with

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

    GitHub comment 157#234192167

    GitHub | 5 months ago | erkangur
    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

    My first android app crashes [no change in code]

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

    Could not find vectorDrawbles

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

  1. Saravana Kumar Chinnaraj 8 times, last 8 months ago
4 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<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:541)
    2. android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:478)
    3. android.support.graphics.drawable.VectorDrawableCompat.createFromXmlInner(VectorDrawableCompat.java:441)
    3 frames
  3. Android v7
    AppCompatActivity.onCreate
    1. android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:736)
    2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:359)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:189)
    4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182)
    5. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:717)
    6. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:187)
    7. android.support.v7.widget.TintTypedArray.getDrawableIfKnown(TintTypedArray.java:77)
    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:50)
    12. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:201)
    13. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:181)
    14. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:521)
    15. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:71)
    15 frames
  4. com.android.co_lay_demo
    fab_and_snackbar.onCreate
    1. com.android.co_lay_demo.fab_and_snackbar.onCreate(fab_and_snackbar.java:20)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5047)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2056)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2117)
    5. android.app.ActivityThread.access$700(ActivityThread.java:134)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1218)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4867)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1007)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:774)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame