2016-03-23 19 views
2

Android Studio sürüm 2.0 önizlemesini 6 güncelledim ve normalde uzun süre kullanıldı.Ama Bugün yeni bir proje oluşturduğumda, bu eklenti hatası görüntüleniyor, çok eski, lütfen daha yeni bir sürüme güncelleyin veya Android Studio 2.0 - Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to benim build.gradle (Proje) sınıfyolu ve gradle-wrapper.properties Değişti, ama şimdi proje düzgün yapıyor ancak çalışmaz:Android Studio 2.0 - Android Studio'nun bu sürümü, kullanılan Gradle Plugin ile uyumlu değil. Anında Çalıştır özelliğini devre dışı bırakmayı deneyin

için ANDROID_DAILY_OVERRIDE ortam değişkeni ayarlamak Ben linkte gibi çözüm bulmak için baktım , Gösterilen hata "Bu Android Studio sürümü, kullanılan Gradle Plugin ile uyumlu değil. Anında Çalışmayı devre dışı bırakmayı deneyin. " Aynı şey için herhangi bir çözüm bulunamadı. Yeni başlayan biriyim, herhangi bir yardım takdir edilecektir.

Uygulamam/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.+' 
} 

My build.gradle (Proje)

// 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 
} 
+0

Açık ayarı & kullandığınız gradle sürümü kontrol .. android stüdyo olarak en son birini kullanmak gerekir Not –

+0

http://tools.android.com/tech-docs/instant -kullanım lütfen kontrol edin –

+0

https://jcenter.bintray.com/com/android/tools/build/gradle/ burada tüm eklentiler mevcut ... –

cevap

6

enter image description here

ayarlarında
  1. , arama Instant Run ve netHot swap koduna.
  2. Temiz proje
+0

Tamamen çalıştı. –

+0

İyi çalışıyor. Teşekkürler –

İlgili konular