2015-07-21 120 views
0

我在android studio中創建了nexus 5和nexus 7模擬器。我一個接一個地啓動兩個模擬器。 Nexus 7仿真器工作正常,但在nexus 5中只包含黑屏,我等了1個多小時。問題是什麼。在android studio中創建了nexus 5模擬器,只顯示黑屏?

它顯示在消息:

 emulator: device fd:628 
     HAX is not working and emulator runs in emulation mode 
     emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration. 
     emulator: AVD  RAM size = 1536 MB 
     emulator: HAXM max RAM size = 512 MB 
     emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode. 

關係5仿真器的細節

名稱:Nexus_5_API_21 CPU/ABI:的Intel Atom(x86)的路徑:C:\ xxx.android \ AVD \ Nexus_5_API_21.avd 目標:安卓5.0.1(API級別21) 皮膚:nexus_5 SD卡:\ Nexus_5_API_21.avd \ sdcard.img 快照:是hw.dPad:沒有runtime.network.speed:全hw.accelerometer :是hw.device.name:Nexus 5 vm.heapSize:64 skin.dynamic:yes hw.device.manufacturer:Google hw.gps:ye小號hw.audioInput:是tag.id:默認hw.camera.back:無hw.mainKeys:沒有AvdId:Nexus_5_API_21 hw.camera.front:無hw.lcd.density:480 runtime.scalefactor:汽車avd.ini.displayname :Nexus 5的API 21 snapshot.present:是hw.device.hash2:MD5:2fa0e16c8cceb7d385183284107c0c88 hw.ramSize:1536 hw.trackBall:無hw.battery:是hw.sdCard:是tag.display:默認runtime.network.latency: none hw.keyboard:yes hw.sensors.proximity:yes disk.dataPartition.size:200M hw.sensors.orientation:yes avd.ini.encoding:UTF-8 hw.gpu.enabled:no

回答

0

錯誤提示HAXM支持的最大內存大小爲512 MB。嘗試將模擬器RAM的大小降至512 MB。這爲我解決了這個問題。