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.

2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。
gradle.properties 文件内容仅此如下一句:
android.useDeprecatedNdk=true
转载自:http://www.androidstar.cn/studio-android-usedeprecatedndktrue解决ndk提示版本低不能自动编译jni/
本文介绍了解决Android开发中遇到的NDK编译错误的方法。通过在gradle.properties文件中添加配置项android.useDeprecatedNdk=true来启用过时的NDK集成,从而避免编译错误。
3万+

被折叠的 条评论
为什么被折叠?



