Android emulator hanging on startup?

后端 未结 6 1305
北荒
北荒 2021-02-20 11:36

I\'ve been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able

6条回答
  •  孤独总比滥情好
    2021-02-20 12:22

    Try using adb logcat in the terminal to see what's happening with the emulator. When I did that I kept noticing

    I/ServiceManager(  918): service 'media.audio_flinger' died
    I/ServiceManager(  918): service 'media.player' died
    I/ServiceManager(  918): service 'media.camera' died
    I/ServiceManager(  918): service 'media.audio_policy' died
    

    repeating every 10s or so. I tried enabling my cameras in the AVD and the emulator started working.

    To enable the camera enter android avd in the terminal and set the front and back camera options.

提交回复
热议问题