user1517638 user1517638 - 2 months ago 22
Android Question

NDK integration in Android studio

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.

Error:Execution failed for task ':app:compileDebugNdk'.


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.


please help me to solve this issue

Answer

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.