Android Studio中的AVD管理器不显示我的设备,但adb设备显示它。我是不是遗漏了什么明显的东西?
当前回答
这对我来说很管用:
windows 10。 Android Studio 4.1。 三星galaxy a50。
在Android Studio中这样做: 文件设置-语言和框架-颤振。 然后指向你电脑中你颤振的存储位置,比如: C:例如\Desktop\Flutter。
希望能有所帮助。: D
其他回答
打开调试模式后,打开设置/开发人员选项 更新配置相同的映像
我做过很多处理这个问题的方法。以下是你需要一步步遵循的内容。我希望这能帮到你。
步骤1:确保您的设备已启用开发。
步骤2:在您将设备插入PC之前,确保您选择了USB连接方法。
第三步:当你插入手机时,你会得到USB连接方法的选项,选择互联网连接。确保你已经连接到互联网。
第四步:在Android Studio中运行应用程序,它会要求您授权设备进行开发,并选择YES。
第五步:通过Android Studio运行应用程序,选择设备,而不是模拟器,然后BINGO!欢迎来到Android开发版。
如果有人对三星GT-I9060有问题,我在SO上遵循了这个答案:
如果你在windows上,很多时候它将无法识别该设备 完全由于驱动程序问题,设备不会显示。 进入设置 控制面板 硬件和声音 设备管理器 并查找任何显示错误的设备。许多机器人会显示为 未知的USB设备。选择该设备并尝试更新 驱动因素。
我卸载了设备,拔下设备,再插上。这一次Windows正确地安装了驱动程序。真扫兴。
如果您的设备在此问题之前正在使用Android Studio,那么重新启动设备可以解决问题。
重新启动后,请确保再次从开发人员选项中打开USB调试。
尝试以下解决方案(适用于Windows):
进入sdk工具安装路径,在\sdk\platform-tools文件夹下运行以下命令: 亚洲开发银行设备
如果你的设备列出了它应该显示如下内容:
C:\android\sdk\platform-tools>adb devices
List of devices attached
081e96500591f039 device
如果没有,请遵循以下方法:
Try these commands: adb kill-server adb start-server Make sure your phone has Developer Options in Settings (if not, go to Settings, About phone (or device), click on Android Version multiple times until you see a message). Make sure USB debugging on your phone is enabled (go to Developer Options in Settings and turn it on) Make sure you have Select USB Configuration set to MTP (this is also in Developer Options). Make sure you can see your files in your device in Windows Explorer when you connect via USB. Make sure you have the driver for your device properly installed (most of the time, this happens when you first plug in your USB cable). In Windows, right click on Computer, and go to Device Manager, check if you have Android Device right on the root folder and under it should be Android Composite ADB Interface. If you don't have this, you have to download the Google USB Driver. Get it here:
http://developer.android.com/sdk/win-usb.html
在设备管理器中,找到您的设备(应该有黄色感叹号),右键单击,并更新驱动程序(打开带有您刚刚下载的驱动程序的文件夹) 如果这不起作用,尝试重新启动Android Studio或重新插入设备。
一些便宜的设备(一些30美元的平板电脑)不提供USB驱动程序来连接设备管理器,所以在这种情况下你就不走运了。
推荐文章
- 警告:API ' variable . getjavacompile()'已过时,已被' variable . getjavacompileprovider()'取代
- 安装APK时出现错误
- 碎片中的onCreateOptionsMenu
- TextView粗体通过XML文件?
- 如何使线性布局的孩子之间的空间?
- DSL元素android.dataBinding。enabled'已过时,已被'android.buildFeatures.dataBinding'取代
- ConstraintLayout:以编程方式更改约束
- PANIC: AVD系统路径损坏。检查ANDROID_SDK_ROOT值
- 如何生成字符串类型的buildConfigField
- Recyclerview不调用onCreateViewHolder
- Android API 21工具栏填充
- Android L中不支持操作栏导航模式
- 如何在TextView中添加一个子弹符号?
- PreferenceManager getDefaultSharedPreferences在Android Q中已弃用
- 在Android Studio中创建aar文件