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

Stack Overflow | Wajhe abidi | 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

    Unfortunately application has stopped while running on phone

    Stack Overflow | 7 months ago | Wajhe abidi
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportHeight > 0
  2. 0

    Android Studio errors when running on a hardware device

    Stack Overflow | 6 months ago | Rajan Saini
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportHeight > 0
  3. 0

    app crash when first run on Android 4.4

    Stack Overflow | 3 months ago | asmgx
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportHeight > 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    What Android Build Tools version should we use to support devices with min SDK 16 (4.1)?

    Stack Overflow | 3 months ago | Jvalant Dave
    org.xmlpull.v1.XmlPullParserException: Binary XML file line #17<vector> tag requires viewportHeight > 0
  6. 0

    GitHub comment 157#234192167

    GitHub | 9 months ago | erkangur
    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 viewportHeight > 0

    at android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray()
  2. android.support.graphics
    VectorDrawableCompat.createFromXmlInner
    1. android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray(VectorDrawableCompat.java:544)
    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:742)
    2. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:362)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192)
    4. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:185)
    5. android.support.v7.widget.AppCompatDrawableManager.checkVectorDrawableSetup(AppCompatDrawableManager.java:720)
    6. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:190)
    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.example.wajheabidi
    MainActivity.onCreate
    1. com.example.wajheabidi.galary4.MainActivity.onCreate(MainActivity.java:13)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5304)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2245)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2331)
    5. android.app.ActivityThread.access$1000(ActivityThread.java:143)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5291)
    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:849)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame