error: No toolchain version defined in json file.
-
Android QT 5.10.0 Clang armebi-v7a
compile output:
...
[100%] Linking CXX shared library libStrFileArray.so
[100%] Built target StrFileArray
16:33:23: The process "/usr/bin/cmake" exited normally.
16:33:23: Starting: "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" --input projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json --output projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android-build --android-platform android-28 --jdk /usr/lib/jvm/java-8-openjdk-amd64 --gradle
No toolchain version defined in json file.
16:33:23: The process "qtpath/QTAPI/5.10.0/android_armv7/bin/androiddeployqt" exited with code 2.
Error while building/deploying project StrFileArray (kit: Android Qt 5.10.0 Clang armeabi-v7a)
When executing step "Build Android APK"
16:33:23: Elapsed time: 00:31.projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/android_deployment_settings.json:
{
"_description": "This file is generated by QtCreator to be read by androiddeployqt and should not be modified by hand.",
"application-binary": "projpath/build-StrFileArray-Android_Qt_5_10_0_Clang_armeabi_v7a-Debug/libStrFileArray.so",
"ndk": "/home/linuxer/Android/Sdk/ndk/21.3.6528147",
"ndk-host": "linux-x86_64",
"qml-root-path": "projpath/StrFileArray",
"qt": "qtpath/QTAPI/5.10.0/android_armv7",
"sdk": "/home/linuxer/Android/Sdk",
"stdcpp-path": "/home/linuxer/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/libc++_shared.so",
"target-architecture": "armeabi-v7a",
"tool-prefix": "llvm",
"toolchain-prefix": "llvm",
"useLLVM": true
} -
The reason was in version Qt 5.10. After upgrading to 5.15.2, this problem has gone, but others appear.
Why I have this problem in connection with the "wrong version" is not clear. As well as the emergence of many new problems.
In general, the so-called "free software" is not so free. A lot is hidden from users.