我尝试启动 AVD,但总是出现以下错误:
Emulator: Process finished with exit code -1073741511 (0xC0000139)
我尝试创建新的 AVD,并尝试在“自动”、“硬件”和“软件”之间切换“模拟器性能”的使用,但没有任何帮助,我总是从上面得到结果。
当我尝试启动 AVD 时立即出现错误。
有什么想法会导致这种情况吗?我认为这个问题是随着 android studio 3.0 的更新而来的...
编辑 - 环境:
- Windows 10(高端商务笔记本,dell precisison 7510)
- Android Studio 3.0
- SDK 工具:
- Android 模拟器 26.1.4:已安装
- Intel x86 仿真器加速器(HAXM 安装程序):已安装
我尝试过的
- 删除了完整的 Android SDK(只有 SDK,没有 android studio)并重新安装(没有成功)。
- 尝试使用具有自动/硬件/软件图形设置的模拟器 => 在每种情况下都出现相同的异常
- 更新了 intel 和 nvidia 驱动程序(可能与此有关,因为我的笔记本存在驱动程序问题),但也没有帮助
- 删除了虚拟设备并创建了一个新设备 => 也没有帮助
附加信息
尝试从命令行使用“emulator @Name_of_AVD -verbose”启动模拟器,这给了我以下信息(手动翻译,因此可能不是 100% 准确):
弹出窗口如下:
标题:qemu-system-i386.exe - 找不到入口点
文本:在 DLL“M:\AndroidSDK\emulator\lib64\qt\lib\Qt5Svg.dll”中找不到过程入口点“_Z4endlR11QTextStream”。
弹出窗口如下:
标题:qemu-system-i386.exe - 找不到入口点
文本:在 DLL“M:\AndroidSDK\emulator\qemu\windows-x86_64\qemu-system-i386.exe”中未找到过程入口点“_Z11qt_assert_xPKcS0_S0_i”。
完整的控制台输出:
emulator:Android emulator version 27.0.2.0 (build_id 4498654) (CL:f388734068bae38c6115263feea33c68eed531fe) emulator:Found AVD name 'Nexus_5_API_25' emulator:Found AVD target architecture: x86 emulator:argv[0]: 'emulator.exe'; program directory: 'M:\AndroidSDK\emulator' emulator: Found directory: M:\AndroidSDK/system-images\android-25\google_apis_playstore\x86\ emulator:Probing for M:\AndroidSDK/system-images\android-25\google_apis_playstore\x86\/kernel-ranchu: file exists emulator:Auto-config: -engine qemu2 (based on configuration) emulator: Found directory: M:\AndroidSDK/system-images\android-25\google_apis_playstore\x86\ emulator:emuDirName: 'M:\AndroidSDK\emulator' emulator:try dir M:\AndroidSDK\emulator emulator:Trying emulator path 'M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe' emulator:Found target-specific 64-bit emulator binary: M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe emulator:Adding library search path: 'M:\AndroidSDK\emulator/lib64' emulator:Adding library search path: 'M:\AndroidSDK\emulator/lib64/gles_swiftshader' emulator:Adding library search path: 'M:\AndroidSDK\emulator/lib64/gles_angle' emulator:Adding library search path: 'M:\AndroidSDK\emulator/lib64/gles_angle9' emulator:Adding library search path: 'M:\AndroidSDK\emulator/lib64/gles_angle11' emulator: Adding library search path for Qt: 'M:\AndroidSDK\emulator\lib64\qt\lib' emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=M:\AndroidSDK\emulator\lib64\qt\plugins emulator:Quoted param: [M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe] emulator:Quoted param: [@Nexus_5_API_25] emulator:Quoted param: [-verbose] emulator: Running :M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe emulator: qemu backend: argv[00] = "M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe" emulator: qemu backend: argv[01] = "@Nexus_5_API_25" emulator: qemu backend: argv[02] = "-verbose" emulator: Concatenated backend parameters: M:\AndroidSDK\emulator/qemu/windows-x86_64/qemu-system-i386.exe @Nexus_5_API_25 -verbose
模拟器设置:
AvdId=Nexus_5_API_25 PlayStore.enabled=true abi.type=x86 avd.ini.displayname=Nexus 5 API 25 avd.ini.encoding=UTF-8 disk.dataPartition.size=800M fastboot.forceColdBoot=no hw.accelerometer=yes hw.audioInput=yes hw.battery=yes hw.camera.back=emulated hw.camera.front=emulated hw.cpu.arch=x86 hw.cpu.ncore=1 hw.dPad=no hw.device.hash2=MD5:1c925b9117dd9f33c5128dac289a0d68 hw.device.manufacturer=Google hw.device.name=Nexus 5 hw.gps=yes hw.gpu.enabled=yes hw.gpu.mode=auto hw.initialOrientation=Portrait hw.keyboard=yes hw.lcd.density=480 hw.lcd.height=1920 hw.lcd.width=1080 hw.mainKeys=no hw.ramSize=1536 hw.sdCard=yes hw.sensors.orientation=yes hw.sensors.proximity=yes hw.trackBall=no image.sysdir.1=system-images\android-25\google_apis_playstore\x86\ runtime.network.latency=none runtime.network.speed=full sdcard.size=100M showDeviceFrame=yes skin.dynamic=yes skin.name=nexus_5 skin.path=M:\AndroidSDK\skins\nexus_5 tag.display=Google Play tag.id=google_apis_playstore vm.heapSize=128
最佳答案
你必须检查:
您的磁盘大小未满 - 这通常是由于创建了一些在 AVD 管理器中未使用的虚拟设备(因此如果有未使用的请删除)
<Emulator 的 RAM 大小不应达到您的要求的最小值
解决步骤(已测试):
重启你的 Android Studio
在您的 AVD 管理器中创建新设备
增加模拟器的 RAM 大小
关于android - 无法再启动任何模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47676636/