I want to upgrade my android ndk to r9. But in the windows option for 64 bit i see the above two options. I can't seem to find the difference between them online Can someone please elaborate
Android platform compatibility The native libraries created by the Android NDK can only be used on devices running the Android 1.5 platform version or later. This is due to toolchain and ABI related changes that make the native libraries incompatible with 1.0 and 1.1 system images.
Android provides Native Development Kit (NDK) to support native development in C/C++, besides the Android Software Development Kit (Android SDK) which supports Java. [TODO] more. NDK is a complex and advanced topics.
A toolchain which is ready to use with all the configuration that is the system headers and libraries in the correct path . For Android it will also have the API headers in the path where the toolchain can look it up.
The Native Development Kit (NDK) is a set of tools that allows you to use C and C++ code with Android, and provides platform libraries you can use to manage native activities and access physical device components, such as sensors and touch input.
The Android NDK allows the use of several different compilers and linkers. The default is currently GCC 4.6, which is the only one distributed with the "android-ndk-r9" package, and which will fit the needs of most developers.
The second package, "android-ndk-r9-legacy", contains the additionnal compilers and linkers, such as Clang. It is an additional package that you merge with the "classical" android NDK if you need to use one of these compilers/linkers.
In short, except if you're planning on using a specific compiler, don't download the "legacy" package but only the "classical" one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With