[英]HAX is working and emulator runs in fast virt mode in AVD , in Android Studio
當我嘗試在 Android Studio 中啟動模擬器時收到以下錯誤消息
emulator: WARNING: Crash service did not start
emulator: WARNING: Increasing RAM size to 1024MB
emulator: WARNING: VM heap size set below hardware specified minimum of 384MB
emulator: WARNING: Setting VM heap size to 384MB
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
qemu-system-i386.exe: -drive if=none,index=1,id=cache,file=C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img: could not open disk image C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img: Could not open 'C:\Users\user\.android\avd\Samsung_Galaxy_S6_edge_API_22.avd/cache.img': Invalid argument
現在我無法啟動模擬器。 我怎么能解決這個問題?
1)檢查您的 Haxm 大小是多少,將其設置為大於 1024MB
2) 將 Avd Ram 大小減少到 756MB
試試這兩點;
使用 756 RAM 安裝 HAXM:
sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -u
sudo $ANDROID_SDK/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/silent_install.sh -m 756
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.