Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.1, 6.8.2
-
None
-
-
7a6b3e1a9 (dev), 09e4baf5e (6.9), 4a97fd2f8 (6.8)
Description
When doing a multi-ABI buid (for example for creating an app bundle AAB), the sub-project ABI libraries are not being copied over to the build dir, below is an error log:
[21/22 0.8/sec] Linking CXX shared module libDRC_arm64-v8a.so [22/22 0.9/sec] Copying DRC binary to apk folder 19:07:05: The process "/Users/nsantos/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" exited normally. 19:07:05: Starting: "/Users/nsantos/Qt/6.8.2/macos/bin/androiddeployqt" --input /tmp/drc/android/build/Android_Qt_6_8_2_Clang_arm64_v8a-Release/android-DRC-deployment-settings.json --output /tmp/drc/android/build/Android_Qt_6_8_2_Clang_arm64_v8a-Release/android-build-DRC --android-platform android-34 --jdk /Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home --gradle --aab --jarsigner --release --sign '******' --storepass '******' Cannot find application binary in build dir /private/tmp/drc/android/build/Android_Qt_6_8_2_Clang_arm64_v8a-Release/android-build-DRC//libs/armeabi-v7a/libDRC_armeabi-v7a.so. Using package signing store password found from the environment variable. Using package signing key password found from the environment variable. 19:07:05: The process "/Users/nsantos/Qt/6.8.2/macos/bin/androiddeployqt" exited with code 2. 19:07:05: Error while building/deploying project DRC (kit: Android Qt 6.8.2 Clang arm64-v8a) 19:07:05: When executing step "Build Android APK" 19:07:05: Elapsed time: 00:29.
Manually building the targets qt_internal_android_<abi>_<target_name>_copy_apk_dependencies for each ABI fixes the issue, but this needs to be done by default.
Attachments
Issue Links
- duplicates
-
QTBUG-131862 Android multi-ABI build stopped working
-
- Closed
-
- is duplicated by
-
QTCREATORBUG-32512 Compile multiple Android architectures with QT_ANDROID_ABIS doesn't work
-
- Closed
-
For Gerrit Dashboard: QTBUG-133810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
625335,3 | Ensure <target>_copy_apk_dependencies is called for QtC build | dev | qt/qtbase | Status: MERGED | +2 | 0 |
625503,2 | Ensure <target>_copy_apk_dependencies is called for QtC build | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
625562,2 | Ensure <target>_copy_apk_dependencies is called for QtC build | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |