droidxp / benchmark

8 stars 3 forks source link

Emulator booted too fast #32

Open thlmenezes opened 4 years ago

thlmenezes commented 4 years ago

The prop init.svc.bootanim is returning 'stopped\n' before the emulator has endended its booting

Solution:

emulator @AVD_NAME -writable-system -wipe-data -noaudio -no-snapshot-save -delay-adb
# Waiting for emulator to boot
adb wait-for-device # This command will end when the emulator has endended booting
# Emulator booted

Source: https://androidstudio.googleblog.com/2019/05/emulator-2907-canary.html