gpt4 book ai didi

android studio - 无法访问包管理器

转载 作者:行者123 更新时间:2023-11-29 16:04:24 25 4
gpt4 key购买 nike

尝试在模拟器上运行我的程序时出现此错误:

Device connected: emulator-5554

Device is online: emulator-5554

Target device: avd1 [emulator-5554]
Uploading file

local path: C:\Users\peter\AndroidStudioProjects\MyApplicationProject\MyApplication\build\apk\MyApplication-debug-unaligned.apk

remote path: /data/local/tmp/com.bat.myapplication
Installing com.bat.myapplication

DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.bat.myapplication"


Error: Could not access the Package Manager. Is the system running?

有什么想法吗?我的路径、javahome 等似乎是正确的....

最佳答案

只需等待模拟器完全加载,一旦加载完成,您就可以简单地运行您的应用程序。

关于android studio - 无法访问包管理器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20726368/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com