Android 模拟器未在 Android Studio 3.0 上运行 [英] Android Emulator is not running on Android Studio 3.0

查看:58
本文介绍了Android 模拟器未在 Android Studio 3.0 上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个在 Google IO 2017 上演示的演示即时应用.我明白,这需要 Android Studio 3.0 和最新的构建工具,并且只有少数设备被列入白名单才能使用这个新引入的概念.

在这里,你可以看到我创建了一个名为Nexus 5X的avd机器,我捕获了创建机器的详细信息,在这里你可以看到:

名称:Nexus_5X_API_25CPU/ABI:Google APIs Intel Atom (x86)路径:C:\Users\williams\.android\avd\Nexus_5X_API_25.avd目标:google_apis [Google APIs](API 级别 25)皮肤:nexus_5xSD 卡:C:\Users\williams\.android\avd\Nexus_5X_API_25.avd\sdcard.imghw.dPad:没有runtime.network.speed:满hw.加速度计:是的hw.device.name:Nexus 5Xvm.heapSize:256skin.dynamic:是的hw.device.manufacturer:谷歌hw.gps:是的hw.initialOrientation:纵向image.androidVersion.api: 25hw.audioInput: 是image.sysdir.1: system-images\android-25\google_apis\x86\tag.id: google_apisshowDeviceFrame: 是hw.camera.back:模拟hw.mainKeys: 没有AvdId:Nexus_5X_API_25hw.camera.front:模拟hw.lcd.密度:420avd.ini.displayname:Nexus 5X API 25hw.gpu.mode:访客hw.device.hash2: MD5:1be89bc42ec9644d4b77968b23474980hw.ram 大小:1536hw.trackBall: 没有PlayStore.enabled: 假hw.battery: 是的hw.cpu.ncore:2hw.sdCard:是的tag.display:谷歌 API运行时网络延迟:无硬件键盘:是的hw.sensors.proximity: 是磁盘.数据分区.大小:800Mhw.sensors.orientation: 是avd.ini.encoding: UTF-8hw.gpu.enabled: 是

这是 SDK 工具快照:

好吧,当我运行这个模拟器时,我面临着一些挑战.当我单击此模拟器的运行按钮时,它不会执行任何操作.

这里是错误日志:

Emulator:无法启动C:\Users\williams\AppData\Local\Android\Sdk\emulator/qemu/windows-x86_64/qemu-system-i386.exe":没有那个文件或目录模拟器:[12360]:ERROR:./android/qt/qt_setup.cpp:28:Qt 库未在 C:\Users\williams\AppData\Local\Android\Sdk\emulator\lib64\qt\lib 中找到模拟器:进程已完成,退出代码为 2

谁能建议这个配置有什么问题?顺便说一句,我已经检查了这些

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.

解决方案

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

这篇关于Android 模拟器未在 Android Studio 3.0 上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆