I downloaded and installed ndk (android-ndk-r9d) here C: \ Program Files (x86) \ Android \ android-ndk-r9d
I added the ndk.dir property to local.properties:
sdk.dir=C\:\\Program Files (x86)\\Android\\android-studio\\sdk ndk.dir=C\:\\Program Files (x86)\\Android\\android-studio\\android-ndk-r9d
I added a system environment variable:
ANDROID_NDK_HOME = C: \ Program Files (x86) \ Android \ android-ndk-r9d
I confirmed that ndk-build is in the directory associated
I have confirmed that the build.gradle property is suitable (version wise)
dependencies { classpath 'com.android.tools.build:gradle:0.9.+' }
I confirmed that my version of Android Studio is correct: 0.5.5
I still get this:
Error:Execution failed for task ':muPdf:compileReleaseNdk'. > NDK not configured. Download the NDK from http://developer.android.com/tools/sdk/ndk/.Then add ndk.dir=path/to/ndk in local.properties. (On Windows, make sure you escape backslashes, eg C:\\ndk rather than C:\ndk)
source share