我试图启动AVD,但是我总是会有以下错误:
仿真器:处理以退出代码-1073741511(0xc000000139)
完成。
我尝试创建新的AVD,并尝试在"自动","硬件"one_answers"软件"之间切换"模拟器性能"的使用,但是没有任何帮助,我总是从上面获得结果。
当我尝试启动AVD时,错误会立即出现。
有什么想法会导致这件事?我 think 这个问题带有对Android Studio 3.0 ...
的更新。编辑 - 环境:
- Windows 10(高端业务笔记本,Dell Precisison 7510)
- Android Studio 3.0
- SDK工具:
- Android Emulator 26.1.4:安装
- Intel X86模拟器加速器(HAXM安装程序):安装
我尝试了
- 删除了完整的Android SDK(仅SDK,没有Android Studio),然后再次安装它(无成功)。
- 尝试使用自动/硬件/软件图形设置的模拟器=>在每种情况下相同的异常
- 更新了Intel和Nvidia驱动程序(可能与此有关,因为我的笔记本中存在驱动程序问题),但没有帮助
- 删除虚拟设备并创建一个新的=>没有帮助
其他信息
试图从命令行中使用"模拟器@name_of_avd -verbose"启动模拟器,这给了我以下信息(手动翻译,因此可能不准确100%):
弹出窗口,带有以下方式:
title :qemu-system-i386.exe-未找到入口点
text :过程输入点" _Z4ENDLR11QTEXTSTREAM"在dll" m: androidsdk emulator lib64 qt qt lib qt5svg.dll中找不到。
弹出窗口,带有以下方式:
title :qemu-system-i386.exe-未找到入口点
text :过程入口点" _Z11QT_ASSERT_XPKCS0_S0_I"在dll" m: androidsdk androidsdk emulator qemu qemu windows-x86_64 qemu-system-system-system-system-i386.exe"中未找到。
完整的控制台输出:
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:AndroidSDKemulator' emulator: Found directory: M:AndroidSDK/system-imagesandroid-25google_apis_playstorex86 emulator:Probing for M:AndroidSDK/system-imagesandroid-25google_apis_playstorex86/kernel-ranchu: file exists emulator:Auto-config: -engine qemu2 (based on configuration) emulator: Found directory: M:AndroidSDK/system-imagesandroid-25google_apis_playstorex86 emulator:emuDirName: 'M:AndroidSDKemulator' emulator:try dir M:AndroidSDKemulator emulator:Trying emulator path 'M:AndroidSDKemulator/qemu/windows-x86_64/qemu-system-i386.exe' emulator:Found target-specific 64-bit emulator binary: M:AndroidSDKemulator/qemu/windows-x86_64/qemu-system-i386.exe emulator:Adding library search path: 'M:AndroidSDKemulator/lib64' emulator:Adding library search path: 'M:AndroidSDKemulator/lib64/gles_swiftshader' emulator:Adding library search path: 'M:AndroidSDKemulator/lib64/gles_angle' emulator:Adding library search path: 'M:AndroidSDKemulator/lib64/gles_angle9' emulator:Adding library search path: 'M:AndroidSDKemulator/lib64/gles_angle11' emulator: Adding library search path for Qt: 'M:AndroidSDKemulatorlib64qtlib' emulator: Setting Qt plugin search path: QT_QPA_PLATFORM_PLUGIN_PATH=M:AndroidSDKemulatorlib64qtplugins emulator:Quoted param: [M:AndroidSDKemulator/qemu/windows-x86_64/qemu-system-i386.exe] emulator:Quoted param: [@Nexus_5_API_25] emulator:Quoted param: [-verbose] emulator: Running :M:AndroidSDKemulator/qemu/windows-x86_64/qemu-system-i386.exe emulator: qemu backend: argv[00] = "M:AndroidSDKemulator/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:AndroidSDKemulator/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-imagesandroid-25google_apis_playstorex86 runtime.network.latency=none runtime.network.speed=full sdcard.size=100M showDeviceFrame=yes skin.dynamic=yes skin.name=nexus_5 skin.path=M:AndroidSDKskinsnexus_5 tag.display=Google Play tag.id=google_apis_playstore vm.heapSize=128
您要检查:
-
您的磁盘上的大小不满 - 这通常是由于创建AVD Manager中未使用的某些虚拟设备而发生的(因此,如果有的话,请删除未使用的话)
-
模拟器的RAM大小不应最小,因为您的要求
在围绕步骤的工作中(测试):
-
重新启动您的Android Studio
-
在您的AVD Manager中创建新设备
-
增加仿真器的RAM大小
根据我的理解。与AVD相比,使用基因截算将是BST。链接在这里
- 下载Genymotion。
- 下载虚拟框,如果它不带有子质函数。
- 选择在Android中测试的任何类型的设备。
注意:使用Android Studio和Genymotion需要至少4 GB RAM。
通过应用一些zip文件,您也可以使用GenyMotion测试Google Map Testing,您也可以使用Google Play Services
思考新功能多戴克斯或即时应用程序设置正在与您的项目混乱。最后一次尝试:禁用即时运行禁用即时运行:
打开设置或首选项对话框。导航以构建,执行, 部署>即时运行。取消选中启用即时运行的盒子。
如果您觉得这是不合适的。
创建新的avd。
也
获取Android Studio 3.1如果3.0仍在提供问题,3.1具有新的DEX编译器D8,其中3.0具有DX。
正如CodeBulls所说的上述即时运行也可能是一个问题
exit code -1073741511 (0xC0000139)
在C或C 依赖性文件中遇到一些错误。那是模拟器缺少一些DLL文件AE。
SO UPDATE Android Emulator 来自 SDK工具
更新和Instal Google Play Intel Atom X86 System Image 用于用于运行模拟器的SDK平台( API 25 )。
希望这将帮助您解决问题
嗨,请检查下面的笔记本。
当您升级窗口和Hyper-V Virtual Machine的配置未更新时,就会发生这种情况。
打开Hyper-V Manager应用程序(在Windows 10中)>选择您的计算机>在右侧提供erros>,单击"升级配置",然后选择"升级"。
应该更新该Windows 10电话模拟器的虚拟机配置,并且模拟器应正常工作。
这个问题发生在我的两台笔记本电脑上,并进行了修复。
如果您的问题仍未解决,请在下面链接下面,对您有帮助。
http://www.itwriting.com/blog/9371-how-to-run-android-studio-on-windows-without-disabling-hyper-v.html
希望这可以帮助您尝试。