尝试使用 android-ndk-r8b 创建共享库时显示错误
Your APP_BUILD_SCRIPT points to an unknown file /home/myLib/ndk1/jni/Android.mk
Android NDK Aborting... .Stop
对于我的应用程序,我只是创建了一个 jni 文件夹,其中包含一个 ndk1.c 文件和 Android.mk 文件
建库步骤:
export ARM_ROOT=/home/myLib/android-ndk-r8b
export ARM_TOOL=/home/myLib/android-ndk-r8b/toolchains/arm-linux-androideabi-
4.4.3/prebuilt/linux-x86
export ARM_LIB=/home/myLib/android-ndk-r8b/platforms/android-8/arch-arm/usr/lib
export ARM_LIBO=/home/myLib/android-ndk-r8b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/lib/gcc/arm-linux-androideabi/4.4.3
export ARM_INC=/home/myLib/android-ndk-r8b/platforms/android-8/arch-arm/usr/include
export ARM_PRE=arm-linux-androideabi
export NDK=/home/myLib/android-ndk-r8b
export PATH=$PATH:/home/myLib/android-ndk-r8b
export NDK_PROJECT_PATH=/home/myLib/ndk1
请帮忙提出宝贵的建议!!