Android Studioバージョン2.0のプレビュー6を更新しましたが、通常は長時間使用されていました。しかし、今日新しいプロジェクトを作成したとき、プラグインが古すぎます。Android Studio 2.0 - このAndroid Studioのバージョンは、使用されているGradle Pluginと互換性がありません。インスタント実行を無効にしてみてください
にANDROID_DAILY_OVERRIDE環境変数を設定し、私はリンクでのような解決策を見つけるためにそれを見上げ: Android Studio 2.0 - Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to は私のbuild.gradle(プロジェクト)クラスパスとgradle-wrapper.propertiesを変更しましたが、今でプロジェクトが正常にビルドしますが、実行されません。 、 エラーは "です。このAndroidスタジオはGradle Pluginと互換性がありません。インスタント実行を無効にしてみてください " 同じソリューションを見つけることができませんでした。私は初心者です、どんな助けも高く評価されます。設定で
マイアプリ/ build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 'Google Inc.:Google APIs:23'
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.example.timercheck"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.android.support:design:23.+'
}
マイbuild.gradle(プロジェクト)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-beta6'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
を開き、設定&お使いのGradleバージョンを確認..あなたがアンドロイドスタジオとして最新のものを使用する必要が 注 –
http://tools.android.com/tech-docs/instant -runそれを確認してください –
https://jcenter.bintray.com/com/android/tools/build/gradle/ここですべてのプラグインを利用できます... –