QT6.4.2 adb:failed to stat
-
After recently updating I've run into an issue with QT giving me errors now regarding the android-build-debug.apk.
adb: failed to stat Project/Andriod/build-Test3-Android_Qt_6_4_2_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: No such file or directory
Installing to device failed!
The process "C:\Qt\6.4.2\mingw_64\bin\androiddeployqt.exe" exited with code 16.
Installing the app failed with an unknown error.Ive tried to do some digging but what few post ive seen on this are really confusing and most are unresolved. Not sure where to begin to get this to work.
-
After recently updating I've run into an issue with QT giving me errors now regarding the android-build-debug.apk.
adb: failed to stat Project/Andriod/build-Test3-Android_Qt_6_4_2_Clang_x86_64-Debug/android-build//build/outputs/apk/debug/android-build-debug.apk: No such file or directory
Installing to device failed!
The process "C:\Qt\6.4.2\mingw_64\bin\androiddeployqt.exe" exited with code 16.
Installing the app failed with an unknown error.Ive tried to do some digging but what few post ive seen on this are really confusing and most are unresolved. Not sure where to begin to get this to work.
@RangerACR I am having the same problem. Did you fix it?
-
I am also having this problem. From android studio, the device is flashed without problems. There is a bug in Qt. Apk is signed. How to fix this error?
-
If I do this command from terminal:
sche@sche-s:~$ adb -s d11c1bf install ~/Documents/Programming/Qt projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release/android-build-release-signed.apk Performing Streamed Install adb: failed to stat projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release/android-build-release-signed.apk: No such file or directoryI get the same error as in Qt.
But if I open the terminal from the place where the apk file is located, then the application is installed. I don't understand why this works and the original version doesn't.
sche@sche-s:~/Documents/Programming/Qt projects/android_testtt__/builds/build-android_testtt__-Android_Qt_6_4_3_Clang_arm64_v8a-Release/android-build/build/outputs/apk/release$ adb -s d11c1bf install android-build-release-signed.apk Performing Streamed Install Success????
-
A banal mistake: I removed the space in the name of the "Qt projects" folder (>>>"qt_projects") and everything worked. Uff.
I have Ubuntu. -
A banal mistake: I removed the space in the name of the "Qt projects" folder (>>>"qt_projects") and everything worked. Uff.
I have Ubuntu.@scherbakov-al Sir, I would buy you a beer if I could. Thank you for posting your solution! I had the same problem and did not think of something so simple.