JNI问题

作者: heiheiwanne | 来源:发表于2016-08-20 19:39 被阅读13次

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添入工程根目录下的新建gradle.properties文件中

2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。

gradle.properties 文件内容仅此如下一句:

android.useDeprecatedNdk=true

相关文章

网友评论

      本文标题:JNI问题

      本文链接:https://www.haomeiwen.com/subject/uguisttx.html