> 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 "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration.
最近因爲項目需要,研究了一下微信的硬件平臺的開發的AirKiss 3.0 ;上面的錯誤是把下載想來的demo用Android Studio打開的時候出現的問題:
解決方法如下:
在你的app——build.gradle當中添加如下代碼:
sourceSets.main {
jni.srcDirs = []
}