I have a library project. I want to use Android\'s new build system. Currently I\'m encountering a quite annoying scenario.
I have my dependencies defined on
I commented following line from build.gradle
file and it started working.
//compile files('libs/android-support-v4.jar')
Previously dry build operation would succeed but when I would try to run on device there would be error
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;