when i run ndk-build it cannot complain about the following errors:
$ ndk-build make: /β¦/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found Compile arm : jpeg <= jcapimin.c make: /β¦/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found make: *** [obj/local/armeabi/objs/jpeg/jcapimin.o] Error 127
The problem is that although he says that βthe command was not found,β there is βarm-linux-androideabi-gccβ in the path above. Even when I run "arm-linux-androideabi-gcc" directly from /.../toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/, it gives the same error "command not found "
I also added. / toolchains / arm -linux-androideabi-4.4.3 / prebuilt / linux-x86 / bin in my PATH, but still getting the same error. Even I tried different versions of ndk (7, 7b, 6b) another error! It seems to me that the aforementioned gcc is for 32-bit machines, while my machine is "Linux 2.6.32-37-server x86_64". but I think the ndk package should work on both 32 and 64 bits. I'm right? Do I need to compile or build ndk before using it? I assume downloading and unpacking is all I have to do. right? how about sdk? I just downloaded and unpacked it in the same folder in which I have ndk. I need to configure them to work with each other
source share