Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.11.1
-
None
-
* QtC v4.7
* Qt 5.9.5 ARM v7
* NDK 16b
* SDK Platform tools v26
* SDK buls tools v26 && v27
* Gradle 4.7 (seems)
Description
I faced with an issue that QtC can not deploy some of APK files to a target device.
It say:
Installing Android package to device. Running command "C:/Android/android-sdk-r24.3.4/platform-tools/adb.exe -s 60478880240472 install -r E:/Work/FOO/tests/build-pnd/android-build//build/outputs/apk/android-build-debug.apk" adb: error: cannot stat 'E:/Work/FOO/tests/build-pnd/android-build//build/outputs/apk/android-build-debug.apk': No such file or directory Installing to device failed! 23:59:19: The process "C:/Qt/5.9.6/android_armv7/bin/androiddeployqt.exe" exited with code 16. 23:59:19: Pulling files necessary for debugging. 23:59:19: Package deploy: Running command "C:/Android/android-sdk-r24.3.4/platform-tools/adb.exe -s 60478880240472 pull /system/bin/app_process E:/Work/FOO/tests/build-pnd/app_process". 23:59:19: Package deploy: Running command "C:/Android/android-sdk-r24.3.4/platform-tools/adb.exe -s 60478880240472 pull /system/bin/app_process32 E:/Work/FOO/tests/build-pnd/app_process". 23:59:19: Package deploy: Running command "C:/Android/android-sdk-r24.3.4/platform-tools/adb.exe -s 60478880240472 pull /system/bin/linker E:/Work/FOO/tests/build-pnd/linker". 23:59:20: Package deploy: Running command "C:/Android/android-sdk-r24.3.4/platform-tools/adb.exe -s 60478880240472 pull /system/lib/libc.so E:/Work/FOO/tests/build-pnd/libc.so".
however that APK file is exists, and I can install this file to the target device using the ADB utility directly from the command line.
PS: The Qt notification example deploys with QtC successfully, but my application does not.
Attachments
Issue Links
- is required for
-
QTCREATORBUG-20821 Deploying Android app on qt5/dev (5.12) fails
- Closed
- relates to
-
QTBUG-69755 Wrong apk path when using Gradle 4.1
- Closed