android-emulator-runner icon indicating copy to clipboard operation
android-emulator-runner copied to clipboard

Android Emulator API 30 - Process System Isn't Responding dialog displayed, blocking any action

Open szymon-kazmierczak opened this issue 3 years ago • 2 comments

Hello,

The Android emulator with API 30 is unusable as it launches with the "System Isn't Responding" dialog every time.

I need to use API 30 because of arm support - https://android-developers.googleblog.com/2020/03/run-arm-apps-on-android-emulator.html

Here's the relevant configuration bit:

 test:
    runs-on: macos-latest
    timeout-minutes: 40
    env:
      JAVA_TOOL_OPTIONS: -Xmx4g
    steps:
    - name: checkout
      uses: actions/checkout@v2

    - name: Launch Android Emulator
      uses: actions/[email protected]
      with:
        api-level: 30
        profile: Nexus 6
        target: google_apis_playstore
        arch: x86_64
        emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot-load -noaudio -no-boot-anim
        disable-animations: true
        script: |

I took a screenshot of the emulator running and this is what i get every single time.

file2021-03-26-12-00-55

szymon-kazmierczak avatar Mar 26 '21 13:03 szymon-kazmierczak

If you are able to, try a non google_apis target. My guess is that gms has way too many things on startup that are causing this. Here's some discussion about emulator resource usage on cold boot.

https://old.reddit.com/r/androiddev/comments/hwiffd/were_on_the_engineering_team_for_android_studio/fzsvy38/?context=10000

AfzalivE avatar Apr 07 '21 06:04 AfzalivE

@AfzalivE fyi, there's no non google_apis (i.e. generic) target for API 30 and 31 for the time being. For some reason Google stopped publishing those.

volo-droid avatar Sep 27 '21 13:09 volo-droid