Android Studio Unable To Resolve Error ':app:predexdebug'
I'm just moving on from Eclipse to the intimidating Android Studio and have trouble getting rid of, what appears to be a fairly common error. Error:Execution failed for task ':app:
Solution 1:
you have a jar file or a lib appearing multiple times and need to work with "configuration" in your "gradle.build"
look for how to analyze dependencies with something like:
./gradlew :app:dependencies
./gradlew --info clean assembleDebug > ../myProj_build
will give you extra info in a build file that you can analyze for details on your "preDex" errors
Solution 2:
You added your jar dependencies as a compile dependency. You should added it as a "provided", (see you in the README).
Post a Comment for "Android Studio Unable To Resolve Error ':app:predexdebug'"