Android工作室应用程序无法运行

时间:2018-04-03 06:58:39

标签: android android-studio android-emulator

我正在尝试使用android studio,我无法在实际设备或虚拟设备上调试任何内容。我重新安装了android studio,但这对任何事都没有帮助。

这是我为虚拟设备尝试的内容:

  • 工具> AVD Manager>编辑>图形:软件
  • 工具> AVD Manager>现在冷启动
  • 添加新虚拟设备

无论我做什么,模拟器都会慢慢开启。这是我得到的错误之一:

11:53 PM    Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

11:53 PM    Emulator: audio: Failed to create voice `goldfish_audio_in'

11:53 PM    Emulator: qemu-system-i386.exe: warning: opening audio input failed

11:53 PM    Emulator: audio: Failed to create voice `adc'

11:54 PM    Emulator: qemu-system-i386.exe: Unable to open C:\Users\simch\.android\avd\Pixel_XL_API_26.avd\data\misc\pstore\pstore.bin: Permission denied

11:54 PM    ADB rejected shell command (getprop): closed

然后我尝试在实际的Android设备上运行应用程序,但android studio不能识别它。物理手机说它处于USB调试模式,但是当我尝试从android studio运行应用程序时,它并没有显示任何已连接的设备。

1 个答案:

答案 0 :(得分:-1)

如果您使用真实手机进行调试,我们应该检查以下点:

  1. 检查您的设备操作系统版本,该版本必须安装在sdk上
  2. 设备usb调试情绪启用
  3. 终止adb服务器并重新启动adb服务器
  4. 检查手机连接线,[我经验丰富,有些线缆无法连接usb调试心情]