Unable to compile in my project.
Closed this issue · 6 comments
Here's the error I am getting, it may be conflict with another plugin ill keep testing and let you know:
/Users/cjones/Documents/Development/TheJonesTheory/app/build/intermediates/exploded-aar/com.wnafee/vector-compat/1.0.5/res/drawable/ic_play_vector.xml
Error:Error: error in parsing "g/"
:app:mergeDebugResources FAILED
Error:Execution failed for task ':app:mergeDebugResources'.
/Users/cjones/Documents/Development/TheJonesTheory/app/build/intermediates/exploded-aar/com.wnafee/vector-compat/1.0.5/res/drawable/ic_play_vector.xml: Error: error in parsing "g/"
Might be something connected with this: wnafee/vector-compat#24 Will look into it. VectorCompat is used to support pre 21.
There seems to be an issue with vector-compat when using gradle plugin versions higher than 1.3.1. Try adding generatedDensities = []
line into defaultConfig {...}
in your project's build.gradle
file. This seems to be only solution for now.
Actually i have compiled it with Gradle plugin 2.0.0-alpha2 and it was totally fine!
Same issue here, added generatedDensities = [] and issue solved.
Using Gradle 2.0.0-alpha3.
Thanks @michaldrabik
But does this have negative effect?
Seems like generatedDensities = []
has been deprecated. Use vectorDrawables.generatedDensities = []
instead.
Closing due to inactivity. If anyone still got related problems please open new issue.