Android Studio 生成apk 出现 :error_prone_annotations.jar (com.google.errorprone:error) 错误
Android Studio 生成apk错误:
Could not download error_prone_annotations.jar (com.google.errorprone:error)
修改项目下build.gradle文件中的buildscript和allprojects,如下:
google()
jcenter()
为
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
打包成功。