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

Alexander Dyagilev alervdvcw at gmail.com
Fri Nov 18 18:16:04 CET 2022


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