NDK集成在Android的工作室 [英] NDK integration in Android studio
问题描述
今天,我更新了我的机器人工作室1.3和我在local.properties进入NDK(Android的NDK-r10e NDK版本)的路径(ndk.dir = C:\ AndroidNDK \的Android NDK,r10e \ Android的ndk- r10e),但我得到这个错误。
Today I updated my android studio to 1.3 and I enter the NDK (android-ndk-r10e NDK version) path in local.properties (ndk.dir=C:\AndroidNDK\android-ndk-r10e\android-ndk-r10e) but I got this error.
错误:执行失败的任务。':应用程序:compileDebugNdk
Error:Execution failed for task ':app:compileDebugNdk'.
错误:NDK集成pcated当前插件去$ P $。考虑尝试新的实验插件。有关详细信息,请参阅<一href="http://tools.android.com/tech-docs/new-build-system/gradle-experimental">http://tools.android.com/tech-docs/new-build-system/gradle-experimental.设置android.useDe precatedNdk =真正的在gradle.properties继续使用当前的NDK集成。
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.useDe precatedNdk = TRUE
在 gradle.properties
继续使用当前的NDK集成。
Set android.useDeprecatedNdk=true
in gradle.properties
to continue using the current NDK integration.
您只需要遵循这是给你的错误的指令。
You just have to follow the instruction which is given to you in the error.
这篇关于NDK集成在Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!