android ndk linux 64下载,如何下载旧版本android NDK

我们可能会有一些旧代码需要旧版本的NDK来编译那么如何下载旧版本NDK呢?

方法为:根据版本号拼接下载地址

32位版本后缀为x86,64位版本后缀为x86_64

1、版本号<=r10b

tar.gz for linux /macos and .zip for windows

Linux:

http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86_64.tar.bz2

MacOS:

http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2

Windows:

http://dl.google.com/android/ndk/android-ndk-r9b-windows-x86_64.zip

2、r10c <= version < r11

.bin for linux /macos and.exe for windows

Linux:

http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin

MacOS:

http://dl.google.com/android/ndk/android-ndk-r10c-darwin-x86_64.bin

Windows:

http://dl.google.com/android/ndk/android-ndk-r10c-windows-x86_64.exe

3、从版本 r11开始:

下载地址前缀发生改变,修改为https://dl.google.com/android/repository/

不再支持linux/MacOS的32为版本,只提供64位版本

.zip for linux /macos and windows Linux: https://dl.google.com/android/repository/android-ndk-r11-linux-x86_64.zip MacOS: https://dl.google.com/android/repository/android-ndk-r11-darwin-x86_64.zip Windows: http://dl.google.com/android/repository/android-ndk-r11-windows-x86_64.zip

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值