赞
踩
呜呜~ 在新建项目File->New->New Project->Empty Activity 后遇到以下情况:Plugin [id: 'com.android.application', version: '7.2.2', apply: false] was not found in any of the following sources:
问题1:配置了 proxy
把File | Settings | Appearance & Behavior | System Settings | HTTP Proxy 设置为 No proxy ,
Gradle Scripts | gradle.properties里面注释掉proxy配置代码,具体参考:
新建项目下Gradle sync报错Plugin was not found in any of the following sources
问题2:Gradle 路径配置出错
正常情况下Android Studio会自动下载Gradle构建工具,一般会默认下载到C盘->用户->(电脑账户名目录下),此时会有一个.gradle目录。注意,下载的SDK里面也有一个.gradle目录,需要确保Andr
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。