【发布时间】:2018-05-20 11:20:51
【问题描述】:
我尝试启动 AVD,但总是收到以下错误:
模拟器:进程以退出代码 -1073741511 (0xC0000139) 结束
我尝试创建新的 AVD,并尝试在“自动”、“硬件”和“软件”之间切换“模拟器性能”的使用,但没有任何帮助,我总是从上面得到结果。
当我尝试启动 AVD 时,错误立即出现。
有什么想法会导致这种情况吗?我认为这个问题是随着 android studio 3.0 的更新而来的......
编辑 - 环境:
- Windows 10(高端商务笔记本,戴尔 precisison 7510)
- Android Studio 3.0
- SDK 工具:
- Android 模拟器 26.1.4:已安装
- Intel x86 Emulator Accelerator(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
【问题讨论】:
标签: android android-studio android-emulator android-studio-3.0