could not find com.android.tools.build:gradle:2.2.3
2017-03-22 22:28
477 查看
将项目的 build.gradle中的
改为:
随后,Android 会对一些内容进行update ,即可解决。
buildscript { repositories { mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
改为:
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' } } allprojects { repositories { jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
随后,Android 会对一些内容进行update ,即可解决。
相关文章推荐
- 更新Android Studio版本出现Could not find com.android.tools.build:gradle:2.2.3
- Gradle sync failed: Could not find com.android.tools.build:gradle:2.2.3
- Could not find com.android.tools.build:gradle:2.2.3
- 更新Android Studio版本出现Could not find com.android.tools.build:gradle:2.2.3
- Error:Could not find com.android.tools.build:gradle:2.14.1.
- Could not find com.android.tools.build:gradle:2.14.1.
- 解决 Could not find com.android.tools.build:gradle 问题
- Could not find com.android.tools.build:gradle:3.0.0.
- Could not find com.android.tools.build:gradle:1.3.0.
- Could not find com.android.tools.build:gradle:3.3
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- Failed to apply plugin [id 'com.android.application'] 和 Could not find com.android.tools.build:gradle:2.XX的最正确的解决方法
- Android Studio Error:Could not find com.android.tools.build:gradle
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- Android 解决Could not find com.android.tools.build:gradle
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci
- 解决 Could not find com.android.tools.build:gradle 问题
- Gradle sync failed: Could not find com.android.tools.build:gradle
- Could not find com.android.tools.build:gradle:2.2.2.