Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator is not running on Android Studio 3.0

I am trying to create a demo instant app which was demonstrated at Google IO 2017. I see, this needs Android Studio 3.0 and latest build tools and only few devices are white-listed to use this newly introduced concept.

Here, you can see that I have created an avd machine named Nexus 5X, I captured details of created machine, here you can see:

Name: Nexus_5X_API_25
CPU/ABI: Google APIs Intel Atom (x86)
Path: C:\Users\williams\.android\avd\Nexus_5X_API_25.avd
Target: google_apis [Google APIs] (API level 25)
Skin: nexus_5x
SD Card: C:\Users\williams\.android\avd\Nexus_5X_API_25.avd\sdcard.img
hw.dPad: no
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: Nexus 5X
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.initialOrientation: Portrait
image.androidVersion.api: 25
hw.audioInput: yes
image.sysdir.1: system-images\android-25\google_apis\x86\
tag.id: google_apis
showDeviceFrame: yes
hw.camera.back: emulated
hw.mainKeys: no
AvdId: Nexus_5X_API_25
hw.camera.front: emulated
hw.lcd.density: 420
avd.ini.displayname: Nexus 5X API 25
hw.gpu.mode: guest
hw.device.hash2: MD5:1be89bc42ec9644d4b77968b23474980
hw.ramSize: 1536
hw.trackBall: no
PlayStore.enabled: false
hw.battery: yes
hw.cpu.ncore: 2
hw.sdCard: yes
tag.display: Google APIs
runtime.network.latency: none
hw.keyboard: yes
hw.sensors.proximity: yes
disk.dataPartition.size: 800M
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes

Here is SDK tools snapshot:

enter image description here

Well, I am facing some challenges when I am running this emulator. It does not do anything when I click on run button of this emulator.

Here are the error logs:

Emulator: Could not launch 'C:\Users\williams\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe': No such file or directory

Emulator: [12360]:ERROR:./android/qt/qt_setup.cpp:28:Qt library not found at C:\Users\williams\AppData\Local\Android\Sdk\emulator\lib64\qt\lib

Emulator: Process finished with exit code 2

Can anyone suggest what is wrong with this configuration ? BTW I have checked these Emulator in Android Studio doesn't start but no luck.

like image 562
N Sharma Avatar asked May 23 '17 07:05

N Sharma


People also ask

How to fix Android 11 emulator not starting studio?

To fix this issue, upgrade your Android 11 emulator to version 9 or higher by navigating to Tools > SDK Manager. In the SDK Platforms tab, check the box labeled Show Package Details and select revision 9 or higher of the Android 11 emulator. Studio doesn't start after upgrade

Why is my Android emulator not working?

If the emulator fails to start for you, check to see that you have adequate free disk space. Because many security and antivirus software packages work by monitoring every read and write operation, use of such software can decrease performance of tools like the Android Emulator.

Does Android Studio AVD Manager work with Android emulators?

That's It! Android Studio AVD Manager will allow you to create an AVD, however your log error message and SDK Manager screenshot indicate you do not actually have the Android Emulator installed. To develop with Instant Apps on the emulator, you need two things:

Why doesn’t Android Studio start after installing Android Studio?

Android Studio doesn’t start after installing version 4.2 Studio tries to import previous.vmoptions and sanitize them to work with the garbage collector used by JDK 11. If that process fails, the IDE may not start for certain users who set custom VM options in the.vmoptions file.


2 Answers

There are certain multiple reasons for this issue, nevertheless you can give a try. Check if you have Android Emulator installed on your machine.

https://i.stack.imgur.com/T0Z0i.png

like image 93
Ajay S Avatar answered Sep 22 '22 04:09

Ajay S


Simple I did following steps and achieve task in MAC Machine, You can do in windows machine too

1) Go to Android Studio > SDK Manager
2) Select SDK Tools Tab
3) Select SHOW PACKAGE DETAILS Check box at bottom
4) Search for ANDROID EMULATOR Then
i) If already selected then unchecked and press Apply button
ii) If already not selected then checked and press Apply button
iii) Done Above (i) then select once for install the Android Emulator.

That's It!

like image 37
kirti Avatar answered Sep 23 '22 04:09

kirti