Plugin is too old, please update to a more recent version 导致无法运行的问题
2017-01-16 10:50
507 查看
解决方法如下
第一种,最简单,但是不推荐这么做
将build.gradle 里的类似
改成
或者
这是不推荐的方法,但是简单可行
第二种方法,这才是解决方法的正确方式
首先下载
当然如果有新的,也可以下新的,这个如果你不知道下载地址,其实studio会提醒你的
然后打开路径
将下载的文件夹放到这里
然后打开studio,settting-》build,execution,deployment->gradle 修改路径到
然后就可以了
当然,也许你应该修改项目的的设置,打开项目位置
修改文件gradle-wrapper.properties
类似这样的就可以了
第一种,最简单,但是不推荐这么做
将build.gradle 里的类似
classpath 'com.android.tools.build:gradle:2.0.0-alpha9'
改成
classpath 'com.android.tools.build:gradle:1.5.0'
或者
classpath 'com.android.tools.build:gradle:1.3.0'
这是不推荐的方法,但是简单可行
第二种方法,这才是解决方法的正确方式
首先下载
https://services.gradle.org/distributions/gradle-2.10-all.zip
当然如果有新的,也可以下新的,这个如果你不知道下载地址,其实studio会提醒你的
然后打开路径
\android-studio\gradle
将下载的文件夹放到这里
然后打开studio,settting-》build,execution,deployment->gradle 修改路径到
android-studio/gradle/gradle-2.10
然后就可以了
当然,也许你应该修改项目的的设置,打开项目位置
MyApplication\gradle\wrapper
修改文件gradle-wrapper.properties
#Wed Oct 21 11:34:03 PDT 2015 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
类似这样的就可以了
相关文章推荐
- studio编译时错误提示:Plugin is too old, please update to a more recent,导致无法运行
- Plugin is too old, please update to a more recent version问题解析
- Plugin is too old, please update to a more recent version问题根本解决办法
- 教新手一步步解决:Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to和更新gradle问题
- 关于Android Studio出现Plugin is too old, please update to a more recent version....问题
- 解决Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE..
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID
- Android Studio :Error:(1, 0) Plugin is too old, please update to a more recent version, or set AND……
- Android studio出现Error:Plugin is too old, please update to a more recent version, or set ANDROID_DAIL
- Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE environment v
- 解决Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE
- Android studio 大BUG,Plugin is too old, please update to a more recent version
- 解决Plugin is too old,please update to a more recent version,or set ANDROID_DAILY_OVERRIDE..
- android studio新项目时提示:Plugin is too old, please update to a more recent version
- Plugin is too old, please update to a more recent version 解决办法 2016.1.2
- Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID
- Plugin is too old, please update to a more recent version
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE envrinment