用adb install安装APK时候报error: more than one device and emulator错误;

情形1:原因是同时运行了两台设备,

adb devices查看如下:

解决方法:断开1台即可。


情形2:adb的bug导致的,比如小米MI3,adb devices后同一个iemi号对应两台机子,一台device,一台offline


解决方法1:同时重启手机和电脑,即可

解决方法2:

1)adb kill-server,关闭adb服务

2)taskkill /f /im adb.exe  关闭adb进程

error: more than one device and emulator .相关推荐

  1. 安卓模拟器报错:Error while waiting for device: The emulator process for AVD Nexus_6P_API_30 has terminated.

    一.问题描述 之前进行安卓开发时经常(频率非常高)碰到AndroidStudio的一种报错,报错信息如下:     Error while waiting for device: The emulat ...

  2. 使用adb install 时 提示error: more than one device and emulator

    第一种情况 : 确实用多个设备或者模拟器    解决办法 :(指定连接某一个设备或者模拟器) 1.获取模拟器/设备列表    adb devices 2.指定device来执行adb shell   ...

  3. Error while waiting for device: The emulator process for AVD Pixel_API_30 has terminated.

    报错信息 运行设备时错误:模拟器的进程终止了. 解决方案 1.File-->Setting-->Android SDK,看看这两项有没有安装,像下面这样就是安装好的. 2.在系统环境变量中 ...

  4. Error while waiting for device: The emulator process for AVD Pixel_2_XL_API_28 was killed.

    报错信息 解决方案 1.找到你的SDK文件夹,然后鼠标放到上面的框中,复制你的SDK路径. 2.在系统变量中添加变量.变量名为:ANDROID_SDK_HOME,变量值为:你SDK文件夹的路径 3.然 ...

  5. 【错误记录】Android 文件查看错误 ( Error opening contents of device file ““: Cannot create directory )

    文章目录 一.报错信息 二.解决方案 一.报错信息 Error opening contents of device file "hello.txt": Cannot create ...

  6. VMWare: eth0: error fetching interface information : device not found

    重装了系统,不过原来的虚拟机系统文件都还在,就只重装了虚拟机,虚拟机版本是VM8.0.4,安装好虚拟机然后我就打开我原来安装好的CentOS.vmx文件,版本是centos6.5 但是发现我本机pin ...

  7. Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkMan

    linux出现错误:Bringing up interface eth0:  Error: Connection activation failed: Device not managed by Ne ...

  8. error: insufficient permissions for device

    adb root一直报如下错误: error: insufficient permissions for device: user in plugdev group; are your udev ru ...

  9. ERROR:cannot load flash device description

    前言:在移植他人 代码时,用keil5下载程序时有时会出现cannot load flash device description的问题,以下是解决方法: 此处,我是因为原本使用的是J-Link,改为 ...

最新文章

  1. c++ 高通、低通、带通滤波器_射频/微波滤波器
  2. Talk is cheap, show me the code - 用 github 数据辅助你完善简历
  3. catia过载属性使用方法_CATIA--命令详解
  4. C语言 大小写字符转换
  5. 3.1.6 OS之分页存储(页号、页偏移量等)
  6. CSS基础(part9)--CSS背景
  7. C++ 面向对象(四)—— 多态 (Polymorphism)
  8. 下一代 Node 强势来袭:Deno
  9. ENVI App Store 下载与安装
  10. VMware12虚拟机怎么下载安装?保姆级安装教程,让你一分钟学会
  11. 西工大机考《 ERP原理及应用》大作业网考
  12. syntactic 与semantic 的区别
  13. 如何利用COOC软件绘制动态交互图?
  14. CTF-隐写术(三)
  15. VS Code的背景图老是黑白灰等?放一张喜欢的图片当做背景图敲代码不更舒服么
  16. 打印浏览正常,英文打印正常,但是中文打印乱码的问题
  17. ps 的一些常见的键位技巧
  18. 解决Visual C++ Redistributable安装找不到vc_runtimeMinimum_x86.msi最简单办法
  19. 计算机系统结构知识总结,计算机基础知识总结
  20. MT6323 PMIC 功能介绍

热门文章

  1. 傅里叶变换-通彻理解
  2. 腾讯云网站域名名称建议 网站备案起名建议
  3. Bee常见疑问收集(V1.9.8)
  4. [计算机毕业设计]深度学习电力设备图像识别故障缺陷检测
  5. 【Linux】脚本实现for循环遍历数组
  6. layui 自定义弹框皮肤skin
  7. java web登录页面上记住密码
  8. 今日更新了在新浪上的博客
  9. 基于电子健康档案的区域医疗 SOA 解决方案
  10. 常见的Flink开发环境变量