加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

cocos run -p android 无法真机调试

发布时间:2020-12-14 16:49:08 所属栏目:百科 来源:网络整理
导读:在使用cocos的命令(cocos run -p android)运行apk时可能会报error:more than one device and emulator 错误, 这个错误其实主要是因为当前链接电脑不止一个android设备引起的。 此时可以使用adb devices 来查看设备列表, 其中可能会有一个emulator-5554

在使用cocos的命令(cocos run -p android)运行apk时可能会报error:more than one device and emulator 错误, 这个错误其实主要是因为当前链接电脑不止一个android设备引起的。 此时可以使用adb devices 来查看设备列表, 其中可能会有一个emulator-5554 设备, 这个设备其实是你在电脑上安装了android虚拟机。

解决这个问题的办法就是: 1.windows + r,2.输入services.msc,3.stopBlueStacks Android Service。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读