gpt4 book ai didi

android - 打包错误 : Command "adb.exe -s emulator-5554 pull/system/bin/app_process" failed. 退出代码:1

转载 作者:太空宇宙 更新时间:2023-11-04 13:25:50 25 4
gpt4 key购买 nike

我正在尝试从 Qt Creator 为 Android 目标构建一个空的新项目项目,但出现此错误:

12:51:05: Packaging error: Command "C:/adt/sdk/platform-tools/adb.exe -s emulator-5554 pull /system/bin/app_process C:/Workspace/NewProjects/build-untitled18-Android_for_x86_GCC_4_9_Qt_5_4_2-Debug/app_process" failed.Exit code: 1

截图:

enter image description here

the full log ,以备不时之需。

如何修复该错误?

最佳答案

看完the answer to a related question :

As mentioned before, Android 5.0 has /system/bin/app_process as a symlink to /system/bin/app_process32. Since a symlink cannot be pulled with adb pull, the ndk-gdb script will not be able to work as-is.

我刚刚登录到 android 模拟器 VM 并将符号链接(symbolic link)替换为文件的拷贝:

C:\Users\sasho>adb shellroot@generic_x86:/ # mount -o rw,remount /systemroot@generic_x86:/ # cd /system/binroot@generic_x86:/system/bin # rm app_processroot@generic_x86:/system/bin # cp app_process32 app_process

然后它就成功了!

关于android - 打包错误 : Command "adb.exe -s emulator-5554 pull/system/bin/app_process" failed. 退出代码:1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33366168/

25 4 0
文章推荐: javascript - 如何显示模态窗口以重叠iframe?
文章推荐: Java 文本过滤器
文章推荐: html - 创建相同高度的
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com