Gradle version兼容问题##
gradle build output:
Failed to apply plugin [id 'com.android.application']
Minimum supported Gradle version is 2.14.1. Current version is 2.10. If using the gradle wrapper, try editing the distributionUrl in E:\Space\Android\StudioProjects\smallcredit_android\loan_android\gradle\wrapper\gradle-wrap
per.properties to gradle-2.14.1-all.zip
>gradlew
重新Terminal命令键入gradle assembleOfficialRelease编译,依然出错,删除.gradle,还是出错,查看AS的gradle的设置
没问题,那么只有电脑的环境变量配置的gradle存在问题了,
重启电脑,打开AS,在Terminal中再次键入
gradle build
Okay
org.gradle.wrapper.GradleWrapperMain##
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
如果有提示错误,新建立一个Project,Copy他的gradle文件夹到我们自己工程,再次执行编译命令
android studio Error:Unexpected authentication token##
删除你的.gradle文件夹下的所有文件