Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in Pre-lollipop using Eclipse #38

Closed
mureedhussain1 opened this issue Nov 30, 2016 · 1 comment
Closed

Exception in Pre-lollipop using Eclipse #38

mureedhussain1 opened this issue Nov 30, 2016 · 1 comment

Comments

@mureedhussain1
Copy link

mureedhussain1 commented Nov 30, 2016

Using this Plugin with eclipse causing exception on pre-lollipop .
I studied a lot about this and finally comes to know the exception is occuring due to VectorDrawableSupport library.
Solution of this problem for Android studio is very simple to add this in app/build.gradle :
android {
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}

but i am unable to solve this problem in eclipse this problem is forcing me to not use this awesome library.
Can you solve my problem for eclipse.

Here is logcat

    1. E/VdcInflateDelegate(31205): org.xmlpull.v1.XmlPullParserException: Binary XML file line Arc doesn't show up from the second time when chained using setListener #2 tag requires viewportWidth > 0
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray(VectorDrawableCompat.java:535)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.graphics.drawable.VectorDrawableCompat.updateStateFromTypedArray(VectorDrawableCompat.java:535)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.graphics.drawable.VectorDrawableCompat.inflate(VectorDrawableCompat.java:472)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.graphics.drawable.VectorDrawableCompat.createFromXmlInner(VectorDrawableCompat.java:436)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatDrawableManager$VdcInflateDelegate.createFromXmlInner(AppCompatDrawableManager.java:851)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:320)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:195)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:190)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatImageHelper.setImageResource(AppCompatImageHelper.java:66)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at android.support.v7.widget.AppCompatImageView.setImageResource(AppCompatImageView.java:71)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at com.wooplr.spotlight.SpotlightView.addArcAnimation(SpotlightView.java:489)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at com.wooplr.spotlight.SpotlightView.access$10(SpotlightView.java:487)
    1. 11-30 15:37:57.908: E/VdcInflateDelegate(31205): at com.wooplr.spotlight.SpotlightView$4.onAnimationEnd(SpotlightView.java:442)
@29jitender
Copy link
Owner

@themhsami you should use gradle plugin to support this on Eclipse.
https://gradle.org/eclipse/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants