I've upgraded to Android Studio 0.8.1 and when I try to compile any app it fails with the following error:
Error:Artifact 'com.android.tools.build:gradle:0.12.1:gradle.jar' not found on Android Studio 0.8.1
I tried to update manually the plugin from gradle.org and it does not contain any gradle.jar binary.
How to resolve this error?
File -> Invalidate caches / Restart Shutdown Android Studio Rename/remove .gradle folder in the user home directory Restart Android Studio let it download all the Gradle stuff it needs Gradle build success ! Rebuild project.... success !
Try this:
./gradlew clean build --refresh-dependencies
It worked for me =)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With