JNI开发 NDK integration is deprecated in the current plugin
2016-12-05 11:46
519 查看
今天时间不是很紧,赶紧试试JNI,结果一上手就丢出来一个这么个BUG,在网上找了半天都没有找到什么结果,先看看问题吧:
网上很多网友都说,只需要在gradle.properties这个文件里面添加一个配置就OK了,然后并没有什么卵用,我盯着这个Error看了一会,果断去这里看看,看啥?先进去再说吧。里面有一张表——Plugin与Gradle匹配表:
按找这张表上的匹配方式就OK了。
Error:(14, 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. <a href="openFile">Open File</a>
网上很多网友都说,只需要在gradle.properties这个文件里面添加一个配置就OK了,然后并没有什么卵用,我盯着这个Error看了一会,果断去这里看看,看啥?先进去再说吧。里面有一张表——Plugin与Gradle匹配表:
Plugin Version | Gradle Version |
---|---|
0.1.0 | 2.5 |
0.2.0 | 2.5 |
0.3.0-alpha3 | 2.6 |
0.4.0 | 2.8 |
0.6.0-alpha1 | 2.8 |
0.7.0-alpha1 | 2.10 |
0.7.0 | 2.10 |
0.7.3 | 2.14.1 |
相关文章推荐
- Android报错:JNI相关“ Error: NDK integration is deprecated in the current plugin.”
- Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plu
- Android Studio 出现 Error: NDK integration is deprecated in the current plugin.
- Android Studio报错: NDK integration is deprecated in the current plugin
- Error: NDK integration is deprecated in the current plugin
- Error: NDK integration is deprecated in the current plugin.
- “NDK integration is deprecated in the current plugin” Error
- “NDK integration is deprecated in the current plugin” Error
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plu
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Error: NDK integration is deprecated in the current plugin
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Error: NDK integration is deprecated in the current plugin
- NDK integration is deprecated in the current plugin
- Android studio之NDK integration is deprecated in the current plugin解决办法
- Set "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration. 解决办法
- Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the next version