Android VM crashes on Launch Mac

前端 未结 3 791
野的像风
野的像风 2020-12-08 03:35

I have a problem. I\'ve been working with Android in Eclipse for the past 4-5 weeks now and never had a problem with the VM (they were slow, yes. But never crashed).

相关标签:
3条回答
  • 2020-12-08 03:35

    Do you have two screens? if yes, did you launch avd/vm on secondary screen last time? If yes, then check config vm file at:

    cd ~/.android/avd/  
    ls -la   => here you see all avds
    cd [your_vm.avd]
    joe emulator-user.ini => edit this config file and see value 
    

    window.x = 2054 - this is stupid value, cause says where to display emulator window. Value is set cause emulator window was displayed at second screen on x position 2054 but as I say it's bug at avd. Simply change it to better value to display window at your main screen so like my case:

    window.x = 954
    window.y = 199
    uuid = 1342941165631
    

    Save config file, start eclipse, start your avd/vm and all must run well.

    0 讨论(0)
  • 2020-12-08 03:46

    I had the same problem. Yesterday it worked fine. Today crashes with EXC_BAD_ACCESS. Then I noticed that the audio I was listening to stopped for half a second when launching the AVD. I though that might have something to do with it. I stopped iTunes I was listening to, restarted the AVD and yes success. No crash, it started up nicely.

    0 讨论(0)
  • 2020-12-08 03:50

    It looks like this happens when an external monitor is connected. Try disconnecting your external monitor and then start emulator. You can attach it back after the emulator starts.

    0 讨论(0)
提交回复
热议问题