`

Android Studio 3.0 gradle提示版本太老

 
阅读更多

很多朋友在用Android Studio 3.0 gradle提示一下内容:

The android gradle plugin version 3.0.0-alpha1 is too old, please update to the latest version. To override this check from the command line please set the
ANDROID_DAILY_OVERRIDE environment variable to “d27b293f4c7c48dfe922ba160164f3fa511cb3b9”
Upgrade plugin to version 3.0.0-alpha1 and sync project Open File

它是想告诉你,你的版本太老了;

解决方法:Window系统中去环境变量那里配置一下环境变量

新建一个变量:

变量名:ANDROID_DAILY_OVERRIDE

变量值:d27b293f4c7c48dfe922ba160164f3fa511cb3b9

通过以上的方法,完美的解决了版本过老提示错误的问题。

 

gradle的各个版本

http://services.gradle.org/distributions/

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics