Error:Execution failed for task ':app:compileDebugNdk'.
> 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 = []
}