下载安装配置Android NDK21最新稳定版本-基于ubuntu18-linux

  • Post author:
  • Post category:linux


下载地址:

https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip

1.下载

wget https://dl.google.com/android/repository/android-ndk-r21b-linux-x86_64.zip

2.解压

unzip android-ndk-r21b-linux-x86_64.zip

3.环境路径配置

export NDK=/home/lyc/android-ndk-r21b
export PATH=${NDK}:${PATH}
export NDK_PROJECT_PATH=${NDK}

4.验证安装

./android-ndk-r21b/ndk-build 

Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.    
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /home/lyc/android-ndk-r21b/jni/Android.mk    
/home/lyc/android-ndk-r21b/build/core/add-application.mk:88: *** Android NDK: Aborting...    .  Stop.



版权声明:本文为weixin_42678511原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。