rentgendroid/android/conf/start_culebra.sh
migueldar a4c63e5ad4 created new image to improve waiting times
Reviewers: kuba-orlik

Subscribers: kuba-orlik

Differential Revision: https://hub.sealcode.org/D1364
2024-03-06 08:45:48 +01:00

15 lines
456 B
Bash

rm -f /opt/android-sdk-linux/.android/avd/virtual_dev.avd/*.lock
adb start-server
emulator -avd virtual_dev -writable-system -no-window -no-audio &
adb wait-for-device
adb emu avd snapshot load configured
adb wait-for-device
export PATH=$PATH:/root/culebraDependencies
cd /root/culebra
./culebratester2 start-server &
#wait for the server to start
while ! curl http://localhost:9987/v2/uiDevice/screenshot > /dev/null 2> /dev/null; do
sleep 0.1
done