I couldn't build my project which uses JNI with the following error 
messages:

Error:Execution failed for task ':cookpad:compileProductDebugNdk'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run 
command:
  /usr/local/opt/android-ndk/ndk-build NDK_PROJECT_PATH=null 
APP_BUILD_SCRIPT=/Users/goro-fuji/work/android-cookpad/cookpad/build/intermediates/ndk/product/debug/Android.mk
 
APP_PLATFORM=android-19 
NDK_OUT=/Users/goro-fuji/work/android-cookpad/cookpad/build/intermediates/ndk/product/debug/obj
 
NDK_LIBS_OUT=/Users/goro-fuji/work/android-cookpad/cookpad/build/intermediates/ndk/product/debug/lib
 
NDK_DEBUG=1 APP_STL=stlport_static APP_ABI=armeabi-v7a,armeabi,x86
  Error Code:
  2
  Output:
  install: 
/usr/local/Cellar/android-ndk/r10/prebuilt/android-arm/gdbserver/gdbserver: 
No such file or directory
  make: *** 
[/Users/goro-fuji/work/android-cookpad/cookpad/build/intermediates/ndk/product/debug/lib/armeabi-v7a/gdbserver]
 
Error 71

This issue looks caused by this setting in app/build.gradle:

android.buildTypes.debug.jniDebugBuild true

so I can build my project to disable jniDebugBuild; I don't know what 
jniDebugBuild exactly means, ,though.  Is this an issue? Or any suggestion?

My environment:


   - OSX 10.9.4
   - Android Studio 0.8.9
   - Android Gradle Plugin 0.12.+
   - Android SDK 23.0.2, installed by homebrew
   - Android NDK 

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to