'Emulator doesn't start (Connecting to the emulator)
I tried to launch an emulator long time ago, but neither I could launch it nor I found any information about how to fix this problem. When I start an emulator, I get this window below:
Emulator's details:
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 Tools I've got:
PC specs:
NVIDIA GeForce GT 630
I tried wiping the data, relaunching the emulator, creating new one - nothing helped. I hope someone could help me to launch this emulator. Thank you
Solution 1:[1]
Had the same issue on a Mac and this worked for me: go to Android Studio -> Preferences -> Tools -> Emulator -> Uncheck “Launch in a tool window”. After that try to launch the emulator again.
Solution 2:[2]
I had the same issue on ubuntu 20 and the following steps work for me: file -> settings -> tools -> Emulator -> uncheck Launch in a tool window. Then launch the emulator.
Solution 3:[3]
there are many reasons for an emulator to get into a loop.
- Try to reinstall it
- Install a new device and Android version
- If you have an android device, unlock developer option and enable USB debugging. Then connect your Android device to your computer. Then run your program on your physical device.(Best option)
//Check whether V-Sync is enabled in your computer's BIOS. If not get it enabled.
Solution 4:[4]
Check the Android Emulator option in SDK Tools to install
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Dharman |
Solution 2 | Haylemicheal Berihun |
Solution 3 | Got Craziness |
Solution 4 | Biver |