0

IDE asks me for android-14 for NDK. How could I get it ? enter image description here

I have r18b version of NDK. Here is what I have in platforms directory:

enter image description here

Andy D
  • 125
  • 13

2 Answers2

3

This android-14 is just an example. You can choose the best platfrom level that is good for your project. RAD Studio v10.3 supports Android platforms 21 and higher. If you choose e.g. android-24, your APK will not run reliably on devices with Lollipop or Marshmellow, but such choice lets you use more APIs (e.g. Native cmaera2).

Alex Cohn
  • 56,089
  • 9
  • 113
  • 307
0

android-14 was removed since ndk r18b, You can download an older version of NDK, e.g. android-ndk-r16b from here:https://developer.android.com/ndk/downloads/older_releases, unzip it and you will see android-14 available inside /android-ndk-r16b/platforms/.

About how to decide the proper android platform for your NDK build, you can check my recent answer to another thread: https://stackoverflow.com/a/53477672/8034839

shizhen
  • 12,251
  • 9
  • 52
  • 88