Cannot find application binary - Android build
-
Hi,
I have upgraded my application to QT6 but there must be some leftovers from the previous version or something which I can't identify. I have selected the new kit Android Qt 6.2.2 Clang arm64-v8a to build for an Android device but I am getting this error:Cannot find application binary in build dir /.../build-Mind-Android_Qt_6_2_2_Clang_arm64_v8a-Release/android-build//libs/armeabi-v7a/libMind_armeabi-v7a.so.
Which seems wrong since it's mixing v7 and v8 together. (Happens with or without AAB build). What I actually do have in the directory is:
.../build-Mind-Android_Qt_6_2_2_Clang_arm64_v8a-Release/android-build/libs/arm64-v8a/libMind_arm64-v8a.so
When switching to v7 I am getting:
Cannot find application binary in build dir /.../build-Mind-Android_Qt_6_2_2_Clang_armeabi_v7a-Debug/android-build//libs/arm64-v8a/libMind_arm64-v8a.so.
Which is again wrong :D. I can't find where I can switch the names to match the versions. Could anyone please at least tell me where to look for the solution? Thanks!
-
So after some research I have found the reason.
I hadANDROID_ABIS = armeabi-v7a arm64-v8a
in my project, probably for the AAB build in the previous QT version. Then both the versions were looked for during the compilation. This might also help someone with similar problem.
-
So after some research I have found the reason.
I hadANDROID_ABIS = armeabi-v7a arm64-v8a
in my project, probably for the AAB build in the previous QT version. Then both the versions were looked for during the compilation. This might also help someone with similar problem.
-
I have the same problem
:-1: error: Cannot find application binary in build dir .../build-ICS_MedicalDemo-Android_Qt_5_15_13_Clang_Multi_Abi-Debug/android-build//libs/x86_64/libICS_MedicalDemo_x86_64.so. What could be the issue in this case ? I have already set ANDROID_ABI to correct x86_64 setting. ![4.png](https://ddgobkiprc33d.cloudfront.net/9bd50a69-ac6f-49c7-8337-88df3d92d77f.png)