【问题标题】:Emulator doesn't start (Connecting to the emulator)模拟器无法启动(连接到模拟器)
【发布时间】:2021-04-29 05:06:17
【问题描述】:

我很久以前就尝试过启动模拟器,但我无法启动它,也找不到任何有关如何解决此问题的信息。当我启动一个模拟器时,我会在下面看到这个窗口:

模拟器详情:

Name: Pixel_2_API_30
CPU/ABI: Google Play Intel Atom (x86)
Path: C:\Users\Me\.android\avd\Pixel_2_API_30.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: pixel_2
SD Card: 512M
fastboot.chosenSnapshotFile: 
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_2
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 30
tag.id: google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 2 API 30
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 2
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 1920
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes
image.sysdir.1: system-images\android-30\google_apis_playstore\x86\
showDeviceFrame: yes
hw.camera.back: virtualscene
AvdId: Pixel_2_API_30
hw.lcd.density: 420
hw.arc: false
hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a6
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes

我拥有的 SDK 工具:

电脑规格:

NVIDIA GeForce GT 630

我尝试擦除数据,重新启动模拟器,创建新模拟器 - 没有任何帮助。我希望有人可以帮助我启动这个模拟器。谢谢

【问题讨论】:

标签: android android-studio android-emulator


【解决方案1】:

在 Mac 上遇到同样的问题,这对我有用:转到 Android Studio -> Preferences -> Tools -> Emulator -> 取消选中“Launch in a tool window”。之后尝试再次启动模拟器。

【讨论】:

  • 唷。为我解决了这个问题。感谢您的帮助。
  • 我不明白工具窗口的用途是什么,如果它根本不起作用,lol
  • 这个问题是在为我升级 Android Studio 之后出现的。这是正确的解决方案
【解决方案2】:

模拟器陷入循环的原因有很多。

  1. 尝试重新安装
  2. 安装新设备和 Android 版本
  3. 如果您有安卓设备,请解锁开发者选项并启用 USB 调试。然后将您的 Android 设备连接到您的计算机。然后在您的物理设备上运行您的程序。(最佳选择)

//检查你的电脑BIOS中是否启用了垂直同步。如果没有启用它。

【讨论】:

  • 这些都没有解决问题。我期待在模拟器上启动它,而不是真正的设备。
  • 你的系统配置是什么@cjacky475?
  • 您的 IDE 是否在底部显示“等待设备上线”?
  • 您需要了解我的系统配置的哪些信息?不,据我所知,该消息不会显示在底部。
  • 了解您的系统配置让我更具体地了解您的问题。
【解决方案3】:

enter image description here

在 SDK Tools 中勾选 Android Emulator 选项进行安装

【讨论】:

    【解决方案4】:

    我在 ubuntu 20 上遇到了同样的问题,以下步骤对我有用:文件 -> 设置 -> 工具 -> 模拟器 -> 在工具窗口中取消选中启动。然后启动模拟器。

    【讨论】:

      猜你喜欢
      • 2019-09-04
      • 2018-04-19
      • 2021-10-24
      • 2017-02-16
      • 2020-06-08
      相关资源
      最近更新 更多