我在哪里可以找到老版本的Android NDK?

时间:2021-04-13 07:14:46

Does anyone know where I can find older versions of the Android NDK? Our code doesn't build with r6. Surely there must be archived versions somewhere.

有人知道我在哪里可以找到老版本的Android NDK吗?我们的代码不是用r6构建的。肯定在某个地方有存档的版本。

11 个解决方案

#1


183  

Looks like you can construct the link to the NDK that you want and download it from dl.google.com:

看起来你可以构建你想要的NDK的链接并从dl.google.com下载它:

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

Linux示例:http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86_64.tar.bz2

OS X example:
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2

OS X的例子:http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2。

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

窗口示例:http://dl.google.com/android/ndk/android-ndk-r9b-windows.zip

Extensions up to r10b:
.tar.bz2 for linux / os x and .zip for windows.

扩展到r10b: .tar。linux / os x的bz2和windows的.zip。

Since r10c the extensions have changed to:
.bin for linux / os x and .exe for windows

自r10c以来,扩展已经改为:.bin用于linux / os x和.exe for windows。

Since r11:

r11:自

.zip for linux and OS X as well, a new URL base, and no 32 bit versions for OS X and linux.

.zip为linux和OS X提供了一个新的URL基础,对于OS X和linux没有32位版本。

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

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

#2


177  

Here are the links for Windows, Mac and Linux. Latest revision of 12.x, 11.x, 10.x, 9.x, 8.x and 7.x versions.

这里是Windows、Mac和Linux的链接。最新修订的12。x 11。x,10。x,9。x,8。x和7。x版本。

Android NDK r12b

Android NDK r12b

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r11c

Android NDK r11c

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r10e

Android NDK r10e

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r9d

Android NDK r9d

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r8e

Android NDK r8e

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r7c

Android NDK r7c

Windows 32-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Mac OS X 64位| Linux 64位。

#3


38  

A way to find out old download links is to use internet archive tools like "Way back machine", https://archive.org/web/. You can browse older web pages versions and get the links you want.

找到旧的下载链接的方法是使用像“way back machine”这样的网络存档工具,https://archive.org/web/。您可以浏览旧的web页面版本并获得您想要的链接。

For example, I needed to download the NDK rev 9, so I used this tool to access the NDK download page (https://developer.android.com/tools/sdk/ndk/) from March and the download link in March pointed to NDK rev 9.

例如,我需要下载NDK rev 9,所以我使用这个工具从3月访问NDK下载页面(https://developer.android.com/tools/sdk/ndk/), 3月份的下载链接指向NDK rev 9。

#4


15  

I came across this just now doing the same search, and found the other answers are far too specific. I also google searched for downloading android-ndk-r8 and found next to nothing. To get the correct version, I instead went here:

我偶然发现了这个,现在做同样的搜索,发现其他的答案都太具体了。我还搜索了下载android-ndk-r8,几乎一无所获。为了得到正确的版本,我选择了这里:

https://developer.android.com/ndk/downloads/index.html

And copied the link to the download I needed, and pasted it into the URL bar. There, I edited the version to reflect what I wanted (for example, I changed r8b to r8). Then I pressed enter, and the correct download began.

并将链接复制到我需要的下载,并粘贴到URL栏中。在那里,我编辑了版本以反映我想要的(例如,我将r8b更改为r8)。然后我按下enter键,正确的下载开始了。

As long as the naming conventions remain the same, this should work across all versions.

只要命名约定保持不变,这就应该适用于所有版本。


Edit: This convention did change. Some older versions are now available in the archives. For even older versions, refer to the links provided by the answer above.

编辑:这个约定确实改变了。一些旧版本现在可以在档案中找到。对于更老的版本,请参考上面答案提供的链接。

#5


14  

Looks like simply putting the link like this

看起来就像这样把链接放进去。

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

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

on the address bar of your browser

在浏览器的地址栏。

The revision names (r7c, r8c etc.) could be found from the ndk download page

可以从ndk下载页面找到修订名称(r7c、r8c等)。

#6


4  

The 64 bit versions are available also:

64位版本也有:

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

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

just replace the R8E release/version/iteration

只需替换R8E版本/版本/迭代。

#7


3  

As user3486832 mentioned, you can use archive.org: http://web.archive.org/web/*/https://developer.android.com/tools/sdk/ndk/index.html

正如所提到的user3486832,您可以使用archive.org: http://web.archive.org/web/*/https://developer.android.com/tools/sdk/ndk/index.html。

#8


3  

Simply replacing .bin with .tar.bz2 is not enough, for NDK releases older than 10b. For example, https://dl.google.com/android/ndk/android-ndk-r10b-linux-x86_64.tar.bz2 is not a valid link.

用。tar替换。bin。bz2是不够的,NDK版本的版本大于10b。例如,https://dl.google.com/android/ndk/android-ndk-r10b-linux-x86_64.tar.bz2并不是一个有效的链接。

Turned out that the correct link for 10b was: https://dl.google.com/android/ndk/android-ndk32-r10b-linux-x86_64.tar.bz2 (note the additional '32'). However, this doesn't seem to apply to e.g. 10a, as this link doesn't work: https://dl.google.com/android/ndk/android-ndk32-r10a-linux-x86_64.tar.bz2 .

事实证明,10b的正确链接是:https://dl.google.com/android/ndk/androidndk32 -r10b-linux-x86_64.tar.bz2(注意附加的“32”)。然而,这似乎并不适用于例如10a,因为这个链接不起作用:https://dl.google.com/android/ndk/androidndk32 -r10a-linux-x86_64.tar.bz2。

Bottom line: use http://web.archive.org until Google fixes this, if ever...

底线:使用http://web.archive.org直到谷歌解决这个问题,如果有的话…

#9


3  

Google has moved NDK releases to GitHub. Now, the Wiki page contains links to the current stable release, to available betas, and to selected older releases.

谷歌已经向GitHub发布了NDK版本。现在,Wiki页面包含了当前稳定版本的链接、可用的beta版和选择的旧版本。

#10


1  

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

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

I successfully opened gstreamer SDK tutorials in Eclipse.

我在Eclipse中成功地打开了gstreamer SDK教程。

All I needed is to use an older version of ndk. specificly 9d.

我只需要使用一个旧版本的ndk。具体分析9 d。

(10c and 10d does not work, 10b - works just for tutorial-1 )

(10c和10d不工作,10b -仅适用于tutorial1)

9d does work for all tutorials ! and you can:

9d确实适用于所有的教程!你可以:

  1. Download it from: http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2

    下载:http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2

  2. Extract it.

    提取它。

  3. set it in eclipse->window->preferences->Android->NDK->NDK location.

    设置它在eclipse->窗口->首选项->Android->NDK->NDK位置。

  4. build - (ctrl+b).

    构建(ctrl + b)。

#11


0  

If you search Google for the version you want, you should be able to find a download link. For example, Android NDK r5b is available at http://androgeek.info/?p=296

如果你搜索谷歌你想要的版本,你应该能够找到一个下载链接。例如,Android NDK r5b可以在http://androgeek.info/?p=296获得。

On another note, it might be a good idea to look at why your code doesn't compile against the latest version and fix it.

在另一个注释中,看看为什么您的代码不针对最新版本进行编译并修复它可能是个好主意。

#1


183  

Looks like you can construct the link to the NDK that you want and download it from dl.google.com:

看起来你可以构建你想要的NDK的链接并从dl.google.com下载它:

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

Linux示例:http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-linux-x86_64.tar.bz2

OS X example:
http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2

OS X的例子:http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86.tar.bz2 http://dl.google.com/android/ndk/android-ndk-r9b-darwin-x86_64.tar.bz2。

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

窗口示例:http://dl.google.com/android/ndk/android-ndk-r9b-windows.zip

Extensions up to r10b:
.tar.bz2 for linux / os x and .zip for windows.

扩展到r10b: .tar。linux / os x的bz2和windows的.zip。

Since r10c the extensions have changed to:
.bin for linux / os x and .exe for windows

自r10c以来,扩展已经改为:.bin用于linux / os x和.exe for windows。

Since r11:

r11:自

.zip for linux and OS X as well, a new URL base, and no 32 bit versions for OS X and linux.

.zip为linux和OS X提供了一个新的URL基础,对于OS X和linux没有32位版本。

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

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

#2


177  

Here are the links for Windows, Mac and Linux. Latest revision of 12.x, 11.x, 10.x, 9.x, 8.x and 7.x versions.

这里是Windows、Mac和Linux的链接。最新修订的12。x 11。x,10。x,9。x,8。x和7。x版本。

Android NDK r12b

Android NDK r12b

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r11c

Android NDK r11c

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r10e

Android NDK r10e

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r9d

Android NDK r9d

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r8e

Android NDK r8e

Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Windows 64位| Mac OS X 64位| Linux 64位。

Android NDK r7c

Android NDK r7c

Windows 32-bit | Mac OS X 64-bit | Linux 64-bit

Windows 32-bit | Mac OS X 64位| Linux 64位。

#3


38  

A way to find out old download links is to use internet archive tools like "Way back machine", https://archive.org/web/. You can browse older web pages versions and get the links you want.

找到旧的下载链接的方法是使用像“way back machine”这样的网络存档工具,https://archive.org/web/。您可以浏览旧的web页面版本并获得您想要的链接。

For example, I needed to download the NDK rev 9, so I used this tool to access the NDK download page (https://developer.android.com/tools/sdk/ndk/) from March and the download link in March pointed to NDK rev 9.

例如,我需要下载NDK rev 9,所以我使用这个工具从3月访问NDK下载页面(https://developer.android.com/tools/sdk/ndk/), 3月份的下载链接指向NDK rev 9。

#4


15  

I came across this just now doing the same search, and found the other answers are far too specific. I also google searched for downloading android-ndk-r8 and found next to nothing. To get the correct version, I instead went here:

我偶然发现了这个,现在做同样的搜索,发现其他的答案都太具体了。我还搜索了下载android-ndk-r8,几乎一无所获。为了得到正确的版本,我选择了这里:

https://developer.android.com/ndk/downloads/index.html

And copied the link to the download I needed, and pasted it into the URL bar. There, I edited the version to reflect what I wanted (for example, I changed r8b to r8). Then I pressed enter, and the correct download began.

并将链接复制到我需要的下载,并粘贴到URL栏中。在那里,我编辑了版本以反映我想要的(例如,我将r8b更改为r8)。然后我按下enter键,正确的下载开始了。

As long as the naming conventions remain the same, this should work across all versions.

只要命名约定保持不变,这就应该适用于所有版本。


Edit: This convention did change. Some older versions are now available in the archives. For even older versions, refer to the links provided by the answer above.

编辑:这个约定确实改变了。一些旧版本现在可以在档案中找到。对于更老的版本,请参考上面答案提供的链接。

#5


14  

Looks like simply putting the link like this

看起来就像这样把链接放进去。

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

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

on the address bar of your browser

在浏览器的地址栏。

The revision names (r7c, r8c etc.) could be found from the ndk download page

可以从ndk下载页面找到修订名称(r7c、r8c等)。

#6


4  

The 64 bit versions are available also:

64位版本也有:

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

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

just replace the R8E release/version/iteration

只需替换R8E版本/版本/迭代。

#7


3  

As user3486832 mentioned, you can use archive.org: http://web.archive.org/web/*/https://developer.android.com/tools/sdk/ndk/index.html

正如所提到的user3486832,您可以使用archive.org: http://web.archive.org/web/*/https://developer.android.com/tools/sdk/ndk/index.html。

#8


3  

Simply replacing .bin with .tar.bz2 is not enough, for NDK releases older than 10b. For example, https://dl.google.com/android/ndk/android-ndk-r10b-linux-x86_64.tar.bz2 is not a valid link.

用。tar替换。bin。bz2是不够的,NDK版本的版本大于10b。例如,https://dl.google.com/android/ndk/android-ndk-r10b-linux-x86_64.tar.bz2并不是一个有效的链接。

Turned out that the correct link for 10b was: https://dl.google.com/android/ndk/android-ndk32-r10b-linux-x86_64.tar.bz2 (note the additional '32'). However, this doesn't seem to apply to e.g. 10a, as this link doesn't work: https://dl.google.com/android/ndk/android-ndk32-r10a-linux-x86_64.tar.bz2 .

事实证明,10b的正确链接是:https://dl.google.com/android/ndk/androidndk32 -r10b-linux-x86_64.tar.bz2(注意附加的“32”)。然而,这似乎并不适用于例如10a,因为这个链接不起作用:https://dl.google.com/android/ndk/androidndk32 -r10a-linux-x86_64.tar.bz2。

Bottom line: use http://web.archive.org until Google fixes this, if ever...

底线:使用http://web.archive.org直到谷歌解决这个问题,如果有的话…

#9


3  

Google has moved NDK releases to GitHub. Now, the Wiki page contains links to the current stable release, to available betas, and to selected older releases.

谷歌已经向GitHub发布了NDK版本。现在,Wiki页面包含了当前稳定版本的链接、可用的beta版和选择的旧版本。

#10


1  

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

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

I successfully opened gstreamer SDK tutorials in Eclipse.

我在Eclipse中成功地打开了gstreamer SDK教程。

All I needed is to use an older version of ndk. specificly 9d.

我只需要使用一个旧版本的ndk。具体分析9 d。

(10c and 10d does not work, 10b - works just for tutorial-1 )

(10c和10d不工作,10b -仅适用于tutorial1)

9d does work for all tutorials ! and you can:

9d确实适用于所有的教程!你可以:

  1. Download it from: http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2

    下载:http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2

  2. Extract it.

    提取它。

  3. set it in eclipse->window->preferences->Android->NDK->NDK location.

    设置它在eclipse->窗口->首选项->Android->NDK->NDK位置。

  4. build - (ctrl+b).

    构建(ctrl + b)。

#11


0  

If you search Google for the version you want, you should be able to find a download link. For example, Android NDK r5b is available at http://androgeek.info/?p=296

如果你搜索谷歌你想要的版本,你应该能够找到一个下载链接。例如,Android NDK r5b可以在http://androgeek.info/?p=296获得。

On another note, it might be a good idea to look at why your code doesn't compile against the latest version and fix it.

在另一个注释中,看看为什么您的代码不针对最新版本进行编译并修复它可能是个好主意。