build_all.sh 228 B

12345678
  1. #!/bin/bash
  2. echo "will install on device:"$1
  3. rm app/build app/src/main/assets/scrcpy-server.jar -rf
  4. ./gradlew clean
  5. ./gradlew assembleDebug
  6. ./gradlew assembleDebug
  7. adb -s $1 install app/build/outputs/apk/debug/scrcpy-debug.apk