Android Studio无法启动已连接的设备

时间:2022-04-14 00:24:14

I have installed Android Studio v0.1 on Mac. My project imported and built successfully. AVD shows up whenever I run or debug the project, even though my device is connected and shown in integrated DDMS. I have double checked with adb devices from command-line and it shows my connected device. Please help~

我在Mac上安装了Android Studio v0.1。我的项目成功导入和构建。每当我运行或调试项目时,即使我的设备已连接并显示在集成的DDMS中,AVD也会显示。我在命令行中使用adb设备进行了双重检查,并显示了我连接的设备。请帮忙〜

2 个解决方案

#1


48  

// the very First time it will always selected only emulator options

//第一次它总是只选择模拟器选项

you need to change it in Create Run Configuration... in that General Tab select Target Device

您需要在“创建运行配置”中更改它...在“常规”选项卡中选择“目标设备”

  • Show chooser dialog
  • 显示选择器对话框
  • USB Devices
  • USB设备
  • Emulator
  • 模拟器

#2


7  

Visual aid to @Padma Kumar's answer.

视觉帮助@Padma Kumar的答案。

Android Studio无法启动已连接的设备

Android Studio无法启动已连接的设备

"Android Studio is not starting from Device", "Force to start Android Studio from Device"

“Android Studio不是从设备开始”,“强制从设备启动Android Studio”

#1


48  

// the very First time it will always selected only emulator options

//第一次它总是只选择模拟器选项

you need to change it in Create Run Configuration... in that General Tab select Target Device

您需要在“创建运行配置”中更改它...在“常规”选项卡中选择“目标设备”

  • Show chooser dialog
  • 显示选择器对话框
  • USB Devices
  • USB设备
  • Emulator
  • 模拟器

#2


7  

Visual aid to @Padma Kumar's answer.

视觉帮助@Padma Kumar的答案。

Android Studio无法启动已连接的设备

Android Studio无法启动已连接的设备

"Android Studio is not starting from Device", "Force to start Android Studio from Device"

“Android Studio不是从设备开始”,“强制从设备启动Android Studio”