Error:(12, 0) 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.
解决如上问题只需如下两步:
1. 添加 gradle.properties 文件到工程的根目录下。
android.useDeprecatedNdk=true <wbr>添入工程根目录下的新建 <wbr>gradle.properties <wbr>文件中
2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。
gradle.properties 文件内容仅此如下一句:
android.useDeprecatedNdk=true
然后,重新编译你的工程。
参见:https://github.com/wzhnsc/TestNDKUpdataUI
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.
解决如上问题只需如下两步:
1. 添加 gradle.properties 文件到工程的根目录下。
android.useDeprecatedNdk=true <wbr>添入工程根目录下的新建 <wbr>gradle.properties <wbr>文件中
![](https://i-blog.csdnimg.cn/blog_migrate/8e56c58c0c4bb3ac57b2a561d2df662b.png)
2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。
gradle.properties 文件内容仅此如下一句:
android.useDeprecatedNdk=true
然后,重新编译你的工程。
参见:https://github.com/wzhnsc/TestNDKUpdataUI