[FIXED] NDK integration in Android studio

Issue

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.

Solution

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.

Answered By – arodriguezdonaire

Answer Checked By – Clifford M. (Easybugfix Volunteer)

Leave a Reply

(*) Required, Your email will not be published