[Interest] Can't build with Qt 6.4.1 for Android

Alexander Dyagilev alervdvcw at gmail.com
Fri Nov 18 18:19:44 CET 2022


This file exists in NDKs prior to 23.x.x versions. So?...

Googling shows nothing. It seems I am the only in the world who builds 
for Android under Windows.


On 11/18/2022 8:16 PM, Alexander Dyagilev wrote:
> I've checked: I don't have this 
> C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib. 
>
>
> The only ranlib there is llvm-ranlib.exe.
>
> Is it Qt bug? Android NDK bug? My setup config bug?
>
>
> On 11/18/2022 8:07 PM, Alexander Dyagilev wrote:
>> Hello,
>>
>> Switched to the required NDK 23.1.7779620 and now getting the 
>> following weird error:
>>
>> C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib 
>> ..\bin\libnetwrksniff_armeabi-v7a.a
>> process_begin: CreateProcess(NULL, 
>> C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib 
>> ..\bin\libnetwrksniff_armeabi-v7a.a, ...) failed.
>> make (e=2): Tmake[1]: Leaving directory 
>> 'C:/Work/Source/build-fdm-Android_Qt_6_4_1_Clang_armeabi_v7a-Debug/netwrksniff'
>> he system cannot find the file specified.
>> make[1]: *** [Makefile:90: ..\bin\libnetwrksniff_armeabi-v7a.a] Error 2
>>
>> It builds fine with NDK 21.3.6528147, but can't run - throws 
>> exception...
>>
>> As far as I remember I used to build & run it with Qt 6.3.2 (and NDK 
>> 22.1.7171670) without any troubles.
>>


More information about the Interest mailing list