Error Message: emulator-arm.exe has stopped working

前端 未结 17 674
余生分开走
余生分开走 2020-12-08 14:39

I have been having issues running my first android app. Yesterday, i came close to running it but my happiness was dashed when i encountered this error:

emul         


        
17条回答
  •  既然无缘
    2020-12-08 15:31

    Here's how to fix it and keep your desired amount of RAM:

    1. Go into the AVD folder (example: C:\Users\username\.android\avd\phone.avd)
    2. Open the "config.ini" file in Wordpad.
    3. Modify the 'partition' and 'ram' lines to end in "MB" (See below for the proper syntax changes)

    ORIGINAL: disk.dataPartition.size=512M

    MODIFIED: disk.dataPartition.size=512MB

    ORIGINAL: hw.ramSize=1024

    MODIFIED: hw.ramSize=1024MB

    Save the file, and then run the emulator again (e.g. "emulator.exe -avd phone"). You must repeat this process for each of your AVDs.

提交回复
热议问题