Error:(12, 0) Error: NDK integration is deprecated in the current plugin. html
Consider trying the new experimental plugin. android
For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. git
Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.github
解決如上問題只需以下兩步:ide
1. 添加 gradle.properties 文件到工程的根目錄下。gradle
2. 添加 android.useDeprecatedNdk=true 到該 gradle.properties 文件中。ui
gradle.properties 文件內容僅此以下一句:url
android.useDeprecatedNdk=truespa
而後,從新編譯你的工程。
參見:https://github.com/wzhnsc/TestNDKUpdataUIhtm