[Android][Qt5.15][Windows] Error no target architecture defined in json file
Unsolved
Mobile and Embedded
-
Hello!
I'm building a library using QT android kit, but I always get the following error:
No target architecture defined in json file.
I'm using:
- Qt creator 9.0.2
- Qt Framework 5.15.2
- Android NDK 21.3.6528147
- CMake 3.24.2
Result:
{ "_description": "This file is generated by QtCreator to be read by androiddeployqt and should not be modified by hand.", "application-binary": "libFreeImage.so", "architectures": { }, "ndk": "C:/Users/myuser/AppData/Local/Android/Sdk/ndk/21.3.6528147", "ndk-host": "windows-x86_64", "qml-root-path": "D:/VirtualMachine/Shared_folder/FreeImage/freeimage", "qt": "D:/ideSoftware/Qt/5.15.2/android", "sdk": "C:/Users/myuser/AppData/Local/Android/Sdk", "stdcpp-path": "C:/Users/myuser/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/lib", "tool-prefix": "llvm", "toolchain-prefix": "llvm", "useLLVM": true }
Additionally ANDROID_ABI is always detected as armeabi-v7a. I already clone the Qt kit and select the specific compiler of each architecture.