Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
337 views
in Technique[技术] by (71.8m points)

Android Studio displays error on opening Android Emulator

I am getting error while running my code on Android Emulator. The emulator is opening but it does not display anything and android studio shows this error (given below). Please help.

Error:

C:Androidsdk	oolsemulator.exe -netdelay none -netspeed full -avd Nexus_5_API_23
emulator: WARNING: Crash service did not start
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
Creating filesystem with parameters:
    Size: 69206016
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 4224
    Inode size: 256
    Journal blocks: 1024
    Label: 
    Blocks: 16896
    Block groups: 1
    Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: device fd:996
HAXM is not working and emulator runs in emulation mode
emulator: HAXM does not have enough memory remaining to load this AVD.
emulator: AVD      RAM size = 1536 MB
emulator: HAXM max RAM size = 1024 MB (for all running AVDs)
emulator: Try creating an AVD that requires less RAM or re-running the HAXM installer to set a higher memory limit. The HAXM installer may be found at C:AndroidsdkextrasintelHardware_Accelerated_Execution_Managerintelhaxm-android.exe.
emulator: Failed to get Hax capability:6
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554

Emulator enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

emulator: HAXM does not have enough memory remaining to load this AVD.

emulator: AVD RAM size = 1536 MB emulator: HAXM max RAM size = 1024 MB (for all running AVDs)

Probably, You'll need to set AVD RAM size <= 1024.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...