我收到这条消息:
Plugin is too old, please update to a more recent version,
or set ANDROID_DAILY_OVERRIDE environment variable to
"a9d6c794295e89d95704157e2ed8fd55ffd2765c"
Run Code Online (Sandbox Code Playgroud)
和:
C:\path\mobile\build.gradle
Error:(1) A problem occurred evaluating project ':mobile'.
Failed to apply plugin [id 'com.android.application']
Could not create plugin of type 'AppPlugin'.
Run Code Online (Sandbox Code Playgroud)
top build.gradel文件:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0-beta1'
classpath 'com.google.gms:google-services:1.3.0-beta1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Run Code Online (Sandbox Code Playgroud)
基本上,我不知道如何更新该com.android.application插件.
Seb*_*nso 19
我只需要换行
classpath 'com.android.tools.build:gradle:2.0.0-alpha1'
至
classpath 'com.android.tools.build:gradle:2.0.0-alpha3'在顶部 build.gradle
我知道这是alpha3因为上一篇发行说明http://tools.android.com/tech-docs/new-build-system.
Com*_*are 14
显然,Gradle for Android插件的测试版将过期.AFAIK,没有记录的行为.现在,通过监控http://tools.android.com/tech-docs/new-build-system,我知道了解最新测试版本的唯一方法.它实际上显示了一个beta3; 我以为最新的是beta2.
| 归档时间: |
|
| 查看次数: |
12635 次 |
| 最近记录: |