studio android.useDeprecatedNdk=true解决ndk提示版本低不能自动编译jni

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.

studio android.useDeprecatedNdk=true解决ndk提示版本低不能自动编译jni_第1张图片

2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。
gradle.properties 文件内容仅此如下一句:

android.useDeprecatedNdk=true

转载自:http://www.androidstar.cn/studio-android-usedeprecatedndktrue解决ndk提示版本低不能自动编译jni/

你可能感兴趣的:(android,安卓)