Assam,

Thank you very much for the quick and easy workaround. It works.

It thought I would need to use Qt 6.8.0 until this issue was resolved. 

Best regards,

Nuno

> On 18 Feb 2025, at 00:10, Assam Boudjelthia <assam.boudjelt...@qt.io> wrote:
> 
> Hey Nuno,
> 
> I can see that this is still reproducible for Qt 6.8.2, I created a ticket 
> for it https://bugreports.qt.io/browse/QTBUG-133810.
> 
> As a workaround for the moment, you can manually tick the 
> `qt_internal_android_<abi>_<target_name>_copy_apk_dependencies` CMake target 
> for each ABI from "Project Settings > Build Steps > Build > Targets”.
> 
> Regards,
> Assam
> 
>> On Feb 17, 2025, at 9:09 PM, Nuno Santos via Interest 
>> <interest@qt-project.org> wrote:
>> 
>> Hi Ekke,
>> 
>> Have you tried building with 6.8.2?
>> 
>> I’m having the exact same problem with 6.8.2 when building the app bundle:
>> 
>> [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.
>> 
>> Best,
>> 
>> Nuno
>> 
>>> On 16 Jan 2025, at 10:13, ekke <e...@ekkes-corner.org> wrote:
>>> 
>>> Hi Nuno,
>>> sorry to hear. haven't tested this by myself. please ask in comment of the 
>>> issue.
>>> I'll do next tests with 6.8.2
>>> ciao
>>> ekke
>>> Am 16.01.25 um 10:46 schrieb Nuno Santos:
>>>> Ekee,
>>>> 
>>>> I’ve tried the workaround without success.
>>>> 
>>>> I have installed Qt 6.8.0, copied androiddeployqt to the 6.8.1/macOS/bin 
>>>> folder and tried to build but the problem was the same.
>>>> 
>>>> What I have missed?
>>>> 
>>>> Thank you!
>>>> 
>>>> Regards,
>>>> 
>>>> Nuno
>>>> 
>>>>> On 14 Jan 2025, at 17:55, ekke <e...@ekkes-corner.org> wrote:
>>>>> 
>>>>> Hi Nuno,
>>>>> 
>>>>> probably you run into this: https://bugreports.qt.io/browse/QTBUG-131707
>>>>> fix: copy androiddeployqt from 6.8.0
>>>>> 
>>>>> ekke
>>>>> m 14.01.25 um 18:16 schrieb Nuno Santos via Interest:
>>>>>> Hi,
>>>>>> 
>>>>>> Is there any know problem regarding "Build Android App Bundle” and Qt 
>>>>>> 6.8.1 and Qt Creator 15.0.0?
>>>>>> 
>>>>>> It was working with Qt 6.8.0. The only things I needed to change was:
>>>>>> 
>>>>>> - Set QT_ANDROID_ABIS=armeabi-v7a;arm64-v8a
>>>>>> - Toggle Build Android App Bundle
>>>>>> 
>>>>>> And everything was done correctly.
>>>>>> 
>>>>>> Now, the first ABI builds correctly, the second fails with the error:
>>>>>> 
>>>>>> :-1: error: Cannot find application binary in build dir 
>>>>>> /private/tmp/drc/android/build/Android_Qt_6_8_1_Clang_arm64_v8a-Release/android-build-DRC//libs/armeabi-v7a/libDRC_armeabi-v7a.so.
>>>>>> 
>>>>>> Is this a know regression? Any ideas of what could be failing or missing?
>>>>>> 
>>>>>> Thanks!
>>>>>> 
>>>>>> Regards,
>>>>>> 
>>>>>> Nuno
>>>>>> _______________________________________________
>>>>>> Interest mailing list
>>>>>> Interest@qt-project.org
>>>>>> https://lists.qt-project.org/listinfo/interest
>>>>> _______________________________________________
>>>>> Interest mailing list
>>>>> Interest@qt-project.org
>>>>> https://lists.qt-project.org/listinfo/interest
>>> 
>> 
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> https://lists.qt-project.org/listinfo/interest
> 

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to