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:
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.
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
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.
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:
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.
There are certain multiple reasons for this issue, nevertheless you can give a try. Check if you have Android Emulator installed on your machine.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With