本文翻译自:Android Studio doesn't see device

The AVD manager in Android Studio doesn't show my device but "adb devices" does show it. Android Studio中的AVD管理器不显示我的设备,但“adb devices”确实显示了它。 Am I missing something obvious here? 我错过了一些明显的东西吗?


#1楼

参考:https://stackoom.com/question/17dbZ/Android-Studio没有看到设备


#2楼

The AVD Manager is for emulator images. AVD Manager用于模拟器映像。 It never shows hardware. 它从不显示硬件。 This is true for any usage of the AVD Manager: Eclipse, Android Studio, etc. 对于AVD Manager的任何使用都是如此:Eclipse,Android Studio等。


#3楼

To change what your application defaults to when you click run or debug in Android Studio, follow these steps: 要在Android Studio中单击运行或调试时更改应用程序默认设置,请按照下列步骤操作:

1. go to Run 1.跑步

2. Click on Edit Configurations 2.单击“ 编辑配置”

3. Select the project 3.选择项目

4. find the Target Device section under the General tab on the Android Application page . 4.Android应用程序页面的“ 常规”选项卡下找到“ 目标设备”部分。

That seems to be where you toggle what the project builds to. 这似乎是您切换项目构建的内容的地方。 If you're importing a project it actually defaults to Emulator, not sure why. 如果您正在导入项目,它实际上默认为模拟器,不知道为什么。 You can also select "Open Select Deployment Target Dialog" to list both connected as well as emulated devices. 您还可以选择“打开选择部署目标对话框”以列出已连接和已模拟的设备。


#4楼

检查设备驱动程序如果您的设备是Galaxy安装,Kise将搜索您的驱动程序


#5楼

I had to killall adb because somehow, Android Studio managed to crash and did not want to communicate with adb anymore. 我不得不使用killall adb因为不知怎的,Android Studio设法崩溃了,不想再与adb通信了。 Thus, my device did not show up. 因此,我的设备没有出现。

So quitting Android Studio, terminating all adb instances in Terminal and starting Android Studio again (should ask if it should enable debugging then) worked. 因此,退出Android Studio,终止终端中的所有adb实例并再次启动Android Studio(应该询问它是否应该启用调试)。


#6楼

I recently had trouble with this, and regardless of what I did(restart adb, edit adb_usb.ini, restart computer+device+swap usb port, reinstall studio etc. etc.) I just couldnt get it to work, and could not even detect my device using 'adb devices'. 我最近遇到了麻烦,无论我做了什么(重启adb,编辑adb_usb.ini,重新启动计算机+设备+交换USB端口,重新安装工作室等等)我只是无法让它工作,甚至无法工作使用'adb devices'检测我的设备。 Finally after about 2 hours of googling and testing, someone suggested switching to PTP instead of MTP on my device. 最后,经过大约2小时的谷歌搜索和测试,有人建议在我的设备上切换到PTP而不是MTPWhen I did this I got a popup on my device asking me to allow my mac access and suddenly everything worked(had to restart studio for it to show up there as well though). 当我这样做时,我的设备上有一个弹出窗口,要求我允许我的mac访问,突然一切正常(不得不重新启动工作室,以便它也显示在那里)。

I might be bumping this thread now, but it is the first result on google search, and I had a lot of trouble finding an answer for this problem, so I thought this should be added as a solution. 我现在可能会碰到这个帖子,但这是谷歌搜索的第一个结果,我在寻找这个问题的答案时遇到了很多麻烦,所以我认为这应该作为解决方案添加。

Android Studio没有看到设备相关推荐

  1. Android Studio连接手机设备教程(完全步骤)

    Android Studio连接手机设备教程 一.ADB环境配置 1.查看自己Android Studio配置的sdk路径 打开Android Studio后点击[File]->[Project ...

  2. 1.2、Android Studio为新设备创建一个模块

    2019独角兽企业重金招聘Python工程师标准>>> 模块为你的应用的源码.资源文件和app level设置(比如AndroidManifest.xml)提供了一个容器.每个模块可 ...

  3. android studio对移动设备进行无线调试

    1. 手机端设置 手机端的系统需要android 11及以上的系统才支持该功能. 1.1 开启无线调试模式 进入设置->系统->开发者选项,然后打开"无线调试"的开关. ...

  4. android studio onvif,Onvif设备Rtsp地址解析和播放

    Android中的自定义控件(一) 自定义控件是根据自己的需要自己来编写控件.安卓自带的控件有时候无法满足你的需求,这种时候,我们只能去自己去实现适合项目的控件.同时,安卓也允许你去继承已经存在的控件 ...

  5. Android Studio(8)---为新设备添加模块

    为新设备添加模块 模块为应用程序的源代码,资源文件和应用程序级别设置提供容器,例如模块级构建文件和Android清单文件.每个模块都可以独立构建,测试和调试. Android Studio使用模块可以 ...

  6. android studio 设备调试及Logcat查看

    文章转载自:http://www.cnblogs.com/apaojun/p/4283944.html 现在android的开发工具基本上都改用android studio而慢慢弃用eclipse了, ...

  7. android 删除模拟器,android – 如何从avd设备中删除脱机模拟器?

    我在Android Studio中创建了几个AVD-s.他们在模拟器端口5554上启动.然后我通过android avd应用程序创建了另一个AVD,他们从端口5556开始. 现在运行一个模拟器,我从a ...

  8. Windows 10 安装 Android Studio 安装 创建APP 创建模拟器调试 真机调试 编译 签名打包APP

    要想使用Android Studio开发android APP,需要安装三个工具:JDK.Android Studio.Android SDK 先了解这三个工具是做什么的 JDK:JDK是Java语言 ...

  9. Flutter配置好后,在Android Studio中找不到设备,no devices

    Flutter配置好后,在Android Studio中找不到设备,no devices 完成Flutter的Android配置之后,连上设备,运行flutter doctor,发现已经识别了一个可用 ...

最新文章

  1. mysql在电脑哪里启动项_所有电脑和主板开机选择启动项的快捷键
  2. 5G中网络切片技术是什么?—Vecloud
  3. 《系统集成项目管理工程师》必背100个知识点-49质量管理的流程
  4. .net core中使用缓存(cache)
  5. 2020美国纽约大学计算机科学排名,2020美国纽约大学排名第几
  6. 《深度学习》学习的TIP
  7. BZOJ1096-[ZJOI2007]仓库建设
  8. java中main函数的值是_java基础-main方法
  9. 登录邮箱,注意地址栏是否是https开头
  10. PHP项目:如何用PHP高并发检索数据库?
  11. Camshift算法原理及其Opencv实现
  12. leetcode不同路径-结题( C++、Python、解析式)
  13. python配置文件读取环境变量_转载:Python项目读取配置的几种方式
  14. linux yum安装jdk
  15. c语言程序设计教程二进制是什么,C语言程序设计教程
  16. 自适应直方图均衡化matlab 程序,直方图均衡化程序 matlab
  17. iOS开发者必备: 五大编程类工具
  18. Controller中使用swagger注解的正确姿势
  19. 雷神simplest_ffmpeg_player解析(四)
  20. 达观数据:Selenium使用技巧与机器人流程自动化实战

热门文章

  1. CentOS6.5安装python环境
  2. 步长条件梯度下降算法步长和收敛条件的设置的一些看法
  3. 贪吃蛇系列之七——有吃的啦
  4. go语言web编程,初学点滴记录1
  5. Java Web 开发详解
  6. String特殊值的判断方式
  7. hdu 1561 The more, The Better (依赖背包 树形dp)
  8. POJ 1183 反正切函数的应用
  9. Linux环境下2410开发板串口读写关键代码
  10. JS之Date对象和获取系统当前时间