- 
    Bug 
- 
    Resolution: Fixed
- 
    P3: Somewhat important 
- 
    Qt Creator 9.0.1
- 
    None
- 
    Windows 11 22H2 (Build 22621.963)
 Qt Creator 9.0.1
 cmake 3.24.2
 ninja 1.11.0
 android ndk 23b
- 
        
- 
        803fb4ce7 (9.0)
ANDROID_NATIVE_API_LEVEL is set to 23, but it appears this is ignored in the toolchain wrapper of NDK 23b.
Führe C:\Program Files\CMake\bin\cmake.exe -S H:/Tmp/QtTest/AndroidTemplate-Qt6-4-1 -B H:/Tmp/QtTest/build-AndroidTemplate-Qt6-4-1-Android_Qt_6_4_1_Clang_arm64_v8a-Release in H:\Tmp\QtTest\build-AndroidTemplate-Qt6-4-1-Android_Qt_6_4_1_Clang_arm64_v8a-Release aus. -- ANDROID_PLATFORM not set. Defaulting to minimum supported version 16. -- android-16 is not supported for arm64-v8a. Using minimum supported LP64 version 21. -- Configuring 'appAndroidTemplate-Qt6-4-1' for the following Android ABIs: arm64-v8a (default) -- Found android platform plugin at: H:/DevTools/Qt/6.4.1/android_arm64_v8a/./plugins/platforms/libplugins_platforms_qtforandroid_arm64-v8a.so -- Configuring done -- Generating done -- Build files have been written to: H:/Tmp/QtTest/build-AndroidTemplate-Qt6-4-1-Android_Qt_6_4_1_Clang_arm64_v8a-Release
Workaround for this is to set ANDROID_PLATFORM initially.
CMake has it´s own support for android now, but I guess you have reason to not use it? (Support of older NDK´s and their toolchain files?)
- relates to
- 
                    QTCREATORBUG-29112 Defining ANDROID_PLATFORM in an Android kit's CMake configuration has no effect -           
- Closed
 
-