I think the ranlib is set by Android NDK’s cmake toolchain and it caches the value. I’d suggest you to do a cleanbuild (especially delete CMakeCache.txt) if it is generated and retry.
(Something like this would happen if you upgraded your NDK version for example). Alexander Dyagilev <alervd...@gmail.com> writes: > 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. >>> > _______________________________________________ > 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