简体   繁体   English

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

[英]Android Studio doesn't start with connected device

I have installed Android Studio v0.1 on Mac. 我在Mac上安装了Android Studio v0.1。 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. 每当我运行或调试项目时,AVD都会显示,即使我的设备已连接并显示在集成的DDMS中。 I have double checked with adb devices from command-line and it shows my connected device. 我在命令行中使用adb devices进行了双重检查,并显示了我连接的设备。 Please help~ 请帮忙〜

// 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 模拟器

Visual aid to @Padma Kumar's answer. 视觉帮助@Padma Kumar的答案。

选择配置

更改Android应用程序配置设置

"Android Studio is not starting from Device", "Force to start Android Studio from Device" “Android Studio不是从设备开始”,“强制从设备启动Android Studio”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM