Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 12.0.0
-
None
Description
Since I upgraded to QtC12 I cannot build Android applications because of error "Product type is not an application, not building an APK". I am using Qt 6.5.3, no Android kit works. Reproducer can be any trivial project created from template (console/widget/quick/whatever).
Full compile log:
10:37:48: Initializing deployment to Android device/simulator 10:37:48: Deploying to 10:37:48: Running steps for project untitled_console_Android... 10:37:48: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build D:/build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug --target all [1/4 6.3/sec] Automatic MOC and UIC for target untitled_console_Android [2/4 9.9/sec] Building CXX object CMakeFiles/untitled_console_Android.dir/untitled_console_Android_autogen/mocs_compilation.cpp.o [3/4 2.0/sec] Building CXX object CMakeFiles/untitled_console_Android.dir/main.cpp.o [4/4 2.4/sec] Linking CXX executable untitled_console_Android 10:37:50: The process "C:\Qt\Tools\CMake_64\bin\cmake.exe" exited normally. 10:37:50: Product type is not an application, not building an APK. 10:37:50: Starting: "C:\Qt\6.5.3\mingw_64\bin\androiddeployqt.exe --verbose --output D:/build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug/android-build --no-build --input D:/build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug/android-untitled_console_Android-deployment-settings.json --gradle --reinstall --device emulator-5554" 10:37:50: The process "C:\Qt\6.5.3\mingw_64\bin\androiddeployqt.exe" exited with code 255. 10:37:50: Installing the app failed with an unknown error. 10:37:50: Pulling files necessary for debugging. 10:37:50: Package deploy: Running command "C:\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/bin/app_process D:\build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug\android-app-process\app_process". 10:37:50: Package deploy: Running command "C:\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/bin/app_process32 D:\build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug\android-app-process\app_process". 10:37:50: Package deploy: Running command "C:\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/bin/linker D:\build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug\android-app-process\linker". 10:37:50: Package deploy: Running command "C:\AndroidSDK\platform-tools\adb.exe -s emulator-5554 pull /system/lib/libc.so D:\build-untitled_console_Android-Android_Qt_6_5_3_Clang_x86-Debug\android-app-process\libc.so". Error while building/deploying project untitled_console_Android (kit: Android Qt 6.5.3 Clang x86) When executing step "Deploy to Android device" 10:37:50: Elapsed time: 00:02.