You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
emulator -avd test -no-window -no-accel -memory 512 -wipe-data 2>&1 | tee emulator.log &
adb logcat 2>&1 | tee logcat.log &
if [ "$ANDROID_API" = "android-10" ] && [ "$ANDROID_ABI" = "armeabi-v7a" ]; then
sleep 240 # android-wait-for-emulator hangs for ANDROID_API=android-10 ANDROID_ABI=armeabi-v7a, so we wait and hope the emulator has started during that time.
else
android-wait-for-emulator
fi
# Replace /dev/random by /dev/urandom in order to make accessing /dev/random not block during testing.
# This is only to augment the synthetic testing environment.
# Do not use this in production, as that this makes the perceived randomness actually non-random.
adb -e shell 'rm /dev/random; ln -s /dev/urandom /dev/random' || true # This may fail for Android-25, but it is not needed for Android-25