rm -f /opt/android-sdk-linux/.android/avd/virtual_dev.avd/*.lock adb start-server cat > /simple.gpx << EOF Simple Waypoint 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