我已将 mac OS 升级到 Big Sur,但没有一个模拟器在工作。似乎所有 Android 模拟器在 Mac OS Big Sur Beta 上都失败了。我删除了旧的模拟器并创建了具有不同硬件/软件的新模拟器,但没有成功。在android模拟器中引入了以下问题。
https://issuetracker.google.com/issues/165038831
有没有人有办法解决吗?
编辑 27.04.2021
~/Library/Android/sdk/emulator/emulator -gpu host -read-only -feature HVF -avd Pixel_4_API_29
emulator: Android emulator version 30.5.5.0 (build_id 7285888) (CL:N/A)
handleCpuAcceleration: feature check for hvf
cannot add library /Users/dunatv/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libvulkan.dylib: failed
added library /Users/dunatv/Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib
cannot add library /Users/dunatv/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libMoltenVK.dylib: failed
HVF error: HV_ERROR
qemu-system-x86_64: failed to initialize HVF: Invalid argument
HAX is working and emulator runs in fast virt mode.
qemu-system-x86_64: Back to …Run Code Online (Sandbox Code Playgroud) 我在Android studio 3.0中创建了一些AVD,但我无法启动它们.我使用以下命令启动它们:
./emulator @Nexus_5X_API_17
Run Code Online (Sandbox Code Playgroud)
日志:
emulator: WARNING: encryption is off
Hax is enabled
Hax ram_size 0x60000000
Failed to open vm 3
Failed to create HAX VM
No accelerator found.
failed to initialize HAX: Invalid argument
Run Code Online (Sandbox Code Playgroud)
当我重新安装"Intel x86仿真器加速器(HAXM安装程序)"时,日志:
HAXM silent installation only supports macOS from 10.8 to 10.12 !
Run Code Online (Sandbox Code Playgroud)
我不知道它是否与此有关.
之后,我尝试安装virtualBox来安装genymotion,但是我发现当我点击virturalBox.dmg时,安装程序崩溃了.
你可以帮帮我吗?谢谢.
macos android-virtual-device android-studio android-studio-3.0 macos-high-sierra
我在对象中收到错误。我尝试进行所有检查(全部升级并正确安装),但仍然出现错误:
AVD 经理:
AVD 的模拟器进程被终止。
以下是模拟器的详细信息:
Name: Pixel_3a_API_30
CPU/ABI: Google Play Intel Atom (x86)
Path: /Users/simone/.android/avd/Pixel_3a_API_30.avd
Target: google_apis_playstore [Google Play] (API level 30)
Skin: pixel_3a
SD Card: 512M
fastboot.chosenSnapshotFile:
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_3a
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 30
tag.id: google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
avd.ini.displayname: Pixel 3a API 30
hw.gpu.mode: software
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 2220
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes …Run Code Online (Sandbox Code Playgroud) macos android-virtual-device android-studio macos-high-sierra
尝试在 Android Studio 中启动模拟器时出现以下错误:
AVD Pixel_4_API_30_-_GooglePlay 的模拟器进程已终止。
我在 Android Studio 日志中记录了以下错误:
2021-08-11 13:38:19,827 [ 290921] INFO - manager.EmulatorProcessHandler - Emulator: /home/werner/Android/Sdk/emulator/emulator -netdelay none -netspeed full -no-snapshot-load -avd Pixel_4_API_30_-_GooglePlay
2021-08-11 13:38:19,885 [ 290979] INFO - manager.EmulatorProcessHandler - Emulator: handleCpuAcceleration: feature check for hvf
2021-08-11 13:38:19,927 [ 291021] INFO - manager.EmulatorProcessHandler - Emulator: cannot add library /home/werner/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
2021-08-11 13:38:19,933 [ 291027] INFO - manager.EmulatorProcessHandler - Emulator: added library /home/werner/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
2021-08-11 13:38:20,091 [ 291185] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with …Run Code Online (Sandbox Code Playgroud) android android-emulator android-studio android-studio-arctic-fox
在我尝试运行我的应用程序并选择模拟器时更新到Android Studio 2后,我等待模拟器启动并突然被杀死.我可以看到模拟器进程几分钟,但从来没有gui.在Android工作室我收到错误
android studio在等待设备时出错:AVD的模拟器进程被终止
即使我在Android Studio外部运行模拟器,也会发生这种情况.我尝试过基于Android 6和Android 4.4的模拟器.在Windows 7 x64 PC上运行.类似的帖子到另一个关闭的stackoverflow帖子.我尝试了各种ram,vm堆和分辨率设置.
我正在尝试运行 android 模拟器,但不是成功,而是出现错误和滞后的 ui 错误:
handleCpuAcceleration: feature check for hvf
cannot add library /Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libvulkan.dylib: failed
added library /Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib
cannot add library /Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libMoltenVK.dylib: failed
HVF error: HV_ERROR
qemu-system-x86_64: failed to initialize HVF: Invalid argument
Failed to open the hax module
No accelerator found.
qemu-system-x86_64: failed to initialize HAX: Operation not supported by device
added library /Library/Android/sdk/emulator/lib64/vulkan/libMoltenVK.dylib
Run Code Online (Sandbox Code Playgroud)
我已经尝试了这篇文章Android Emulator 30.4.5 not working on MacOS 以及其他有关 stackoverflow 和 google 搜索结果的相关文章中推荐的所有步骤 ,但尚未成功。
Mac OS 大苏尔 11.2.3
我今天将 macOS 更新到 Big Sur 11.3,android 模拟器不能再工作了:
我的电脑:Macbook Pro 2019
安卓工作室版本:4.1.3
安卓模拟器版本:30.5.5
信息: The emulator process for AVD xxx was killed.
我尝试重新安装android studio并重新启动,但错误仍然相同。我无法启动 android 模拟器... :(
错误在这里,它以某种方式与GLDirectMem/Vulkan:
你有什么想法,如何解决?