Android Studio 2.2:Gradle:Fixplugin版本和同步项目

时间:2016-07-12 09:38:50

标签: gradle android-gradle

Gradle problem 我"更新build.gradle: `}     依赖{         classpath' com.android.tools.build:gradle:2.2.0-alpha1'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

} and 的gradle-wrapper.propertie:`

distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip

应用\ build.gradel: dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha1' testCompile 'junit:junit:4.12' androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.android.support:support-annotations:23.4.0'

}

位置 C:/Software/gardle2.14/gradle-2.14

我得到了这个说明: 错误:(1,0)插件太旧,请更新到更新版本,或将ANDROID_DAILY_OVERRIDE环境变量设置为"f45c7e54f5c7108ea208060be3303c44dd2ae899"

感谢您的支持

0 个答案:

没有答案