简体   繁体   中英

Android Studio Gradle Plugin

Just updated to Android Studio beta and having issues with the Gradle plugin update. Here is the error:

在此处输入图片说明

Here is the build.gradle file:

在此处输入图片说明

And here is the Gradle setup:

在此处输入图片说明

I have tried uninstalling/reinstalling, I've tried reimporting the project, I've tried using different versions of Gradle all with no success and the same error.

I was skeptical to update to the Android Studio beta as most of the other updates have broken builds but at IO the Google team promised more stable releases. So far not so much! I would like to get back to developing but I've been dealing with this. Any ideas would be much appreciated!

change 'classpath 'com.android.tools.build:gradle:0.11.+'' to 'class 'com.android.tools.build:gradle:0.12.+''

I think I did this manually and then sync the Gradle files again. Should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM