Set "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration. 解决办法
2016-10-01 22:19
731 查看
1、将 jni 文件夹名改为 cpp;
2、添加 CMakeLists.txt;
3、修改 build.gradle;
【参考】
https://developer.android.com/studio/projects/add-native-code.html
2、添加 CMakeLists.txt;
3、修改 build.gradle;
externalNativeBuild { cmake { path "CMakeLists.txt" } }
【参考】
https://developer.android.com/studio/projects/add-native-code.html
相关文章推荐
- 遇到了IAR烧写程序出错,附解决办法The stack plug-in failed to set a breakpoint on "main"
- Android studio之NDK integration is deprecated in the current plugin解决办法
- IAR调试cc2540 时 出现The stack plug-in failed to set a breakpoint on "main". 解决方法
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- android.useDeprecatedNdk=true 添入工程根目录下的新建 gradle.properties 文件
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- the right syntax to use near USING BTREE错误解决办法
- mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication错误解决办法
- mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication解决办法
- (原创)Modelsim的“The system date appears to have been set back.Cannot continue”问题的解决办法
- Fatal error in launcher: Unable to create process using '"'解决办法
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- the right syntax to use near USING BTREE错误解决办法
- android.useDeprecatedNdk=true 添入工程根目录下的新建 gradle.properties 文件
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Loop has iterated 64 times. Use "set -loop_iteration_limit XX" to iterate more问题的解决办法
- Android studio NDK 编译 "$USE_DEPRECATED_NDK=true" 异常问题解决
- Android开发中出现in the gradle.properties file, sets the maximum Java heap size to 1024m的解决方法
- android.useDeprecatedNdk=true 添入工程根目录下的新建 gradle.properties 文件