天宫鹤

Qt for Android QtQuick应用程序 USB连接手机调试运行错误:adb: failed to *.apk: No such file or directory(重要启示:路径中不能包含空格、中文!!!)

1.场景

Windows11、Qt6.5.0QtQuick应用程序USB连接手机调试运行。

2.错误信息

adb: failed to *.apk: No such file or directory
Installing to device failed!
进程"C:\Users\Administrator\Qt\6.5.0\mingw_64\bin\androiddeployqt.exe"退出,退出代码 16 。
安装应用失败,发生未知错误。

3.原因

应用程序所在路径中含有空格。

4.解决办法

将路径中的空格删除。

5.启示

路径中不能包含空格、中文!!!

posted on 2023-04-10 19:18  GoGrid  阅读(169)  评论(2编辑  收藏  举报

导航