android-ndk-r7

JNI and Gradle in Android Studio

早过忘川 提交于 2019-11-26 04:59:28
问题 I\'m trying to add native code to my app. I have everything in ../main/jni as it was in my Eclipse project. I have added ndk.dir=... to my local.properties . I haven\'t done anything else yet (I\'m not sure what else is actually required, so if I\'ve missed something let me know). When I try and build I get this error: Execution failed for task \':app:compileDebugNdk\'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /Users/me/android-ndk-r8e/ndk-build NDK