0

I'm trying to build first Native app using SDK 12, I installed the updated SDK, ensured My NDK, build tools and CMake are updated.

Created new Android project, selected C++ native, and buid, I got this error:

Configure project :app C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK. AGPBI: {"kind":"warning","text":"C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.","sources":[{}]} C/C++: Platform version '31' is beyond '30', the maximum API level supported by this NDK.

enter image description here

And installed SKD platform 12

enter image description here

Hasan A Yousef
  • 22,789
  • 24
  • 132
  • 203

1 Answers1

2

I found a solution and liked to share. It looks the C++ standard Toolchain default I've is not supporting NDK31, so I selected the latest one C++17 and my issue had been resolved.

enter image description here

Hasan A Yousef
  • 22,789
  • 24
  • 132
  • 203