2015-09-02 41 views
8

Ben Android stüdyo versiyon 1.3.1 kullanıyorum ve local.proprties gidip ndk.dir yazarak NDK entegre etmeye = ve bu hatayıNDK Entegrasyon Android Studio Hata

Hata var am: Yürütme için başarısız oldu görev ': tesstwo: compileReleaseNdk'.

Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental . Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.

tek bu konuda bana yardım edin.

+0

Kontrol bu - Sadece gradle.properties bu deyimi eklenmiş> http://stackoverflow.com/q/31979965/4018207 – AndiGeeky

+0

@Mamata ama onun böyle bir özellik vermek ve aynı hatayı göstermek. Bozuk @ – Corrupt

+0

: Aynı aynı kabul cevabı yaptı mı ??. linkinde verilen – AndiGeeky

cevap

14

sizin build.gradle Bu ekleyin:

android{ 
     sourceSets { 
       main { 
        jni.srcDirs = [] 
       } 
      } 
     } 
+0

Ohk İşe yaradı .. :) – Corrupt

+0

@Corrupt: Sevindim Bu çalıştı :) – AndiGeeky

+0

10 günler sonra nihayet çalıştı arama. –