“NDK integration is deprecated in the current plugin” Error
来源:互联网 发布:大数据在各行业的应用 编辑:程序博客网 时间:2024/05/14 16:34
今天使用android studio 开始开发ndk项目,配置graddle事遇到这个问题,特此记录如下:
问题:
Error:(50, 0) Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, seehttp://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.
解决:
54 down vote accepted
Here is how to solve this issue :
- add gradle.properties file to root folder of your project
- add 'android.useDeprecatedNdk=true' to gradle.properties file
Here is my gradle.properties :
# Project-wide Gradle settings.# IDE (e.g. Android Studio) users:# Gradle settings configured through the IDE *will override*# any settings specified in this file.# For more details on how to configure your build environment visit# http://www.gradle.org/docs/current/userguide/build_environment.html# Specifies the JVM arguments used for the daemon process.# The setting is particularly useful for tweaking memory settings.# Default value: -Xmx10248m -XX:MaxPermSize=256m# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8# When configured, Gradle will run in incubating parallel mode.# This option should only be used with decoupled projects. More details, visit# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects# org.gradle.parallel=trueandroid.useDeprecatedNdk=true
And add it to root of your project :
And rebuild your project.Thats it.
0 0
- “NDK integration is deprecated in the current plugin” Error
- “NDK integration is deprecated in the current plugin” Error
- Error: 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
- Error: NDK integration is deprecated in the current plugin.
- JNI开发 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. Consider trying the new experimental plu
- 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. 问题解决
- Android Studio 出现 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. 问题解决
- Android报错:JNI相关“ Error: NDK integration is deprecated in the current plugin.”
- Android-Android studio 出现 Error: NDK integration is deprecated in the current plugin. 问题解决
- Android Studio报错: NDK integration is deprecated in the current plugin
- 欢迎使用CSDN-markdown编辑器
- Learn Markdown
- 字节与字符及java中char与数据库中char的区别
- static,const,static const , const static成员初始化
- 理解Angular中的$apply()以及$digest()
- “NDK integration is deprecated in the current plugin” Error
- 实现MySQL数据库主从热备份
- python图形界面(GUI)设计
- Android Handler使用
- 时间日期格式化小知识点
- hdoj--4325--Flowers(线段树+二分)
- 犹太教戒律是如何教育犹太人获得幸福的,我很想知道
- Python GUI编程各种实现的对比
- android 界面转换startActivity