android - ndk-build error without space in the path -
i'm trying compile hello-jni sample still error :
*error: using non-cygwin compatible make program. using: c:/androidndk/android-ndk-r8e/prebuilt/windows-x86_64/bin/make solve issue, follow these steps: 1. ensure cygwin 'make' package installed. note: need gnu make 3.81 or later! 2. define gnumake environment variable point it, in: export gnumake=/usr/bin/make 3. call 'ndk-build' again.*
first time got error, found issue space in install directory (it installed in c:\program files...). soi moved c:/androidndk/android-ndk-r8e/ still got error. tryed re-install cygwin (with make package), android-ndk error here !
when echo $cygwin_gnumake have :
$ ndk-build ndk_log=1 host_os=cygwin host_arch=x86 host_tag=cygwin-x86 gnumake=/cygdrive/c/androidndk/android-ndk-r8e/prebuilt/windows-x86_64/bin/make (system path) cygwin_gnumake=c:/androidndk/android-ndk-r8e/build/core/check-cygwin-make.mk:43: android.mk hello-jni.c android ndk: c:/androidndk/android-ndk-r8e/prebuilt/windows-x86_64/bin/make not cygwin-compatible. stop. cygwin-compatible gnu make detected make: /cygdrive/c/androidndk/android-ndk-r8e/build/core/build-local.mk: no such file or directory make: *** no rule make target `/cygdrive/c/androidndk/android-ndk-r8e/build/core/build-local.mk'. stop.
the strange thing here have message "cygwin-compatible gnu make detected" still doesn't work. if has idea appreciate, has been 2 days i'm trying fix it... way, i'm beginner linux shell :)
thanks swetha kini but, said, directory's name not contain space (ie. c:\androidndk\android-ndk-r8e). found issue : in cygwin path "c:\androidndk\android-ndk-r8e" before "/usr/local/bin:/usr/bin:/bin", swap , works.
Comments
Post a Comment