Cannot compile QML application for Android on 5.14.*
-
Hello all!
I'm trying to build my QML application for android on Windows 10, but on 5.14.* (looks like this is important) I receive the following error message:
error: no such file or directory: '@armeabi-v7a\object_script.build\release\lib<appName>_armeabi-v7a.so.Armeabi-v7a' clang++: error: no such file or directory: '@armeabi-v7a\object_script.build\release\lib<appName>_armeabi-v7a.so.Armeabi-v7a' make: *** [Makefile:572: build\release\lib<appName>_armeabi-v7a.so] Error 1
Build is successful if I use 5.15.1 e.g., but I'm interested in building with 5.14.1. I use JDK 1.8.0_261, SDK 2.1 and NDK 21.1.6352462.
qmake gives me the following message (don't know, if this is connected with my issue):
C:/Qt/5.14.1/android/mkspecs/features/android/android_deployment_settings.prf(73): contains(): Encountered invalid regular expression '.*\qmake_qmake_immediate.qrc$'.'
I have found some topics about this issue, but haven't found any working solution for me. So my question is: what can I do with this thing? Thank you in advance for an any help!
-
I have tested it on Linux ant I have the same issue there:
File not found: Error setting permissions on <pathToAppName>/android-build/libs/armeabi-v7a/lib<appName>_armeabi-v7a.so:-1: error: Operation not permitted
-
@St-Stanislav said in Cannot compile QML application for Android on 5.14.*:
<pathToAppName>
What is this path exactly? Do you have write access there?
-
Yes, I have checked it firstly, project is located in /home directory, lib file that is generated received the following permissions:
-rwxrwxr-x
. Now I have reinstalled sdk, ndk and so on. It's the following message, when I try to build release::-1: error: [Makefile:745: build/release/libVision2GoApp_armeabi-v7a.so] Error 127
But this file is existed and has permissions mentioned above. It is strange, but debug mode is being built okay.