Qt 6.9 Android Multi Abi Build Failed
Unsolved
Mobile and Embedded
-
Hello, I have an application developed with Qt 6.9 QML. I want to build it for all ABIs. In the past, I used to set QT_ANDROID_BUILD_ALL_ABIS = true in the CMake configuration file, and when I built the project, the process completed without any issues. However, now when I do this, I get the following error:
:-1: error: Cannot find application binary in build dir C:/qtproc/BlaBla/build/Android_Qt_6_9_0_Clang_arm64_v8a-MinSizeRel/android-build-appBlaBla//libs/x86/libappBlaBla_x86.so.
Does anyone know how to solve this problem?
Edit: I still get the same error when I add the following lines to my CMake file:
set_target_properties(untitled1 PROPERTIES QT_ANDROID_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/android QT_ANDROID_MIN_SDK_VERSION 24 QT_ANDROID_TARGET_SDK_VERSION 35 QT_ANDROID_BUILD_ALL_ABIS ON QT_ANDROID_ABIS "armeabi-v7a;arm64-v8a" # x86;x86_64 )