Where do I find old versions of Android NDK?

Android NdkAndroid Ndk-R5Android Ndk-R4

Android Ndk Problem Overview


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 Solutions


Solution 1 - Android Ndk

Here are the links for Windows, Mac and Linux. Latest revision of 18.x, 17.x, 16.x, 15.x, 14.x, 13.x, 12.x, 11.x, 10.x, 9.x, 8.x and 7.x versions.

>Update: Download Latest and Old NDK releases from Android official site.


Android NDK, Revision 18b (January 2019) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 17c (June 2018) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 16b (December 2017) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 15c (July 2017) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 14b (March 2017) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 13b (October 2016) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 12b (June 2016)

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

Android NDK, Revision 11c (March 2016) > Windows 32-bit | Windows 64-bit | Mac OS X 64-bit | Linux 64-bit

Android NDK, Revision 10e (May 2015)

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

Android NDK r9d

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

Android NDK r8e

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

Android NDK r7c

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

Solution 2 - Android Ndk

Looks like you can construct the link to the NDK that you want and download it from 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

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

Windows example:
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.

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

Since r11:

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

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

Solution 3 - Android Ndk

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.

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.

Solution 4 - Android Ndk

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:

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.

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.

Solution 5 - Android Ndk

Looks like simply putting the link like this

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

Solution 6 - Android Ndk

The 64 bit versions are available also:

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

just replace the R8E release/version/iteration

Solution 7 - Android Ndk

Solution 8 - Android Ndk

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.

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 .

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

Solution 9 - Android Ndk

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.

Solution 10 - Android Ndk

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

I successfully opened gstreamer SDK tutorials in Eclipse.

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

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

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

  1. Download it from: 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.

  4. build - (ctrl+b).

Solution 11 - Android Ndk

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

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionlestView Question on Stackoverflow
Solution 1 - Android NdkMadan SapkotaView Answer on Stackoverflow
Solution 2 - Android NdkKeith JohnstonView Answer on Stackoverflow
Solution 3 - Android Ndkuser3486832View Answer on Stackoverflow
Solution 4 - Android NdkPhilView Answer on Stackoverflow
Solution 5 - Android NdktutanhamonView Answer on Stackoverflow
Solution 6 - Android NdkStJohnView Answer on Stackoverflow
Solution 7 - Android NdkRandyView Answer on Stackoverflow
Solution 8 - Android NdkFara ImportantaView Answer on Stackoverflow
Solution 9 - Android NdkAlex CohnView Answer on Stackoverflow
Solution 10 - Android Ndkשלומי שטייןView Answer on Stackoverflow
Solution 11 - Android NdkepochengineView Answer on Stackoverflow