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

来源:互联网 发布:pca算法matlab代码 编辑:程序博客网 时间:2024/05/13 23:19

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.

android studio问题

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

android.useDeprecatedNdk=true

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

1 0
原创粉丝点击