The android gradle plugin version 3.0.0-alpha1 is too old……的解决方法
2017-10-27 08:16
495 查看
Android Studio 报错 The android gradle plugin version 3.0.0-alpha1 is too old, update to the latest version
最近把Android Studio 更新到 3.0 Canary版本后发现此错误,编译项目时发现如上错误。出现该错误的原因是android gradle plugin 的版本过低,与当前项目设置的Gradle version 4.1不匹配,故只需修改AndroidPlugin Version即可:
在 File->Project Struct->Project 中修改Android Plugin Version 为 3.1.0-alpha01或更高版本:
或者修改项目 build.gradle文件:
注意:
可能会出现下载失败的情况,故加上maven { url 'https://maven.google.com' }。如果还出现以上错误,可以尝试将版本改为3.+,点击“Sync
Project With Gradle Files”, 这样将会自动下载最新的版本
相关文章推荐
- 优雅解决The android gradle plugin version 3.0.0-alpha1 is too old, update to the latest version
- 18. 优雅解决The android gradle plugin version 3.0.0-alpha1 is too old, update to the latest version
- The android gradle plugin version 2.3.0-alpha1 is too old, please update to the latest version.解决办法
- The 踩坑:android gradle plugin version 3.0.0-alpha1 is too old, update to the latest version
- Android Studio 3.0 The android gradle plugin version 3.0.0-alpha1 is too old, update to the
- MAC Android Studio| Error: The android gradle plugin version 3.0.0-alpha1 is too old
- The android gradle plugin version 3.0.0-alpha1 is too old, please update to the latest version.
- the android gradle plugin version is too old 解决方法
- The android gradle plugin version 3.0.0-alpha1 is too old
- he android gradle plugin version 2.4.0-alpha7 is too old, please update to the latest version.
- android gradle plugin version 2.3.0-alpha1 is too old 解决办法
- Android Studio --- android gradle plugin version 2.3.0-alpha1 is too old 解决办法
- AS错误-The android gradle plugin version 2.3.0-alpha1 is too old, please update to the latest version.
- 关于radle sync failed: The android gradle plugin version 2.3.0-alpha1 is too old, please update to the
- Android Studio(版本2.4)报错:the android gradle plugin version 2.4.0-alpha4 is too old, please update to
- The android gradle plugin version 2.3.0-alpha1 is too old, please update to the latest version.解决办法
- the Android gradle plugin version xxx is too old please update to the lateset version
- Android:Plugin is too old, please update to a more recent version解决方法
- The android gradle plugin version 2.3.0-beta4 is too old, please update to the latest version
- 教新手一步步解决:Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to和更新gradle问题