I'm new to Android system, and trying to port some legacy C++ work to Android 5.1 system. I'm a bit confused on version number which I met each day.
I search the StackOverflow, and found below to link are helpful, but still a bit confusion.
There's direct mapping between Android and API level. See this good link: Android: API level VS. Android version
However, when I decide to pick up NDK version to build my native application. I found I was confused. Even this link Relation between the NDK version and the Android version give some information on version relation, but, it still seems too much choice for me. Take NDK-r10 as example, in its platform directory, there are list of different version toolchain.
2018-07-10 12:32 <DIR> android-12
2018-07-10 12:31 <DIR> android-13
2018-07-10 12:31 <DIR> android-14
2018-07-10 12:32 <DIR> android-15
2018-07-10 12:31 <DIR> android-16
2018-07-10 12:32 <DIR> android-17
2018-07-10 12:31 <DIR> android-18
2018-07-10 12:31 <DIR> android-19
2018-07-10 12:33 <DIR> android-21
2018-07-10 12:33 <DIR> android-3
2018-07-10 12:31 <DIR> android-4
2018-07-10 12:30 <DIR> android-5
2018-07-10 12:33 <DIR> android-8
2018-07-10 12:33 <DIR> android-9
Does this platform version have relationship with API level? Is there some risk I pick up the latest NDK and latest platform version to build application for a older Android system? I was confused on that.
Could someone point out the right way to follow ?
Thanks very much!
Jeff