Environment Construction Reference:
Http://blog.sina.com.cn/s/blog_6c728a0401019ckp.html
Problems encountered:
1.NDK installation problem execution. Error/ndkfilename.bin
BASH:/usr/local/bin/rar:/lib/ld-linux.so.2:bad ELF interpreter:no such file or directory
Reference: http://blog.csdn.net/orangleliu/article/details/8869626
Execute yum install libstdc++.so.6 and error
Continue with Yum List | grep libstdc Query Related packages Download x86_64 series
2. Ndk-build error occurred while compiling NDK problem
/android-ndk-r10c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86/bin/. /lib/gcc/aarch64-linux-android/4.9/. /.. /.. /.. /aarch64-linux-android/bin/as:error while loading shared libraries: libz.so.1: Cannot open shared object file:n o Such file or directory
Make: * * * [OBJ/LOCAL/ARM64-V8A/OBJS-DEBUG/HELLO-JNI/HELLO-JNI.O] Error 1
FIX: Download Zlibz Library
Yum List | grep zlib
Yum Install zlib.x86_64
3. Need to execute after modifying/etc/profile
Source/etc/profile Effective
CentOS 6 under development Android, SDK NDK environment build