23 lines
722 B
Bash
23 lines
722 B
Bash
rm -f /opt/android-sdk-linux/.android/avd/virtual_dev.avd/*.lock
|
|
adb start-server
|
|
cat > /simple.gpx << EOF
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<gpx version="1.1" creator="ChatGPT" xmlns="http://www.topografix.com/GPX/1/1">
|
|
<wpt lat="37.422" lon="-122.084">
|
|
<name>Simple Waypoint</name>
|
|
</wpt>
|
|
</gpx>
|
|
EOF
|
|
|
|
emulator -grpc 5556 -avd virtual_dev -snapshot configured -no-window -no-audio -debug all,-adb,-gles1emu,-gles,-mtport,-metrics,-memory,-car,-tvremote &
|
|
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
|