Files
tauri/crates/tauri-cli/src
Lucas Fernandes Nogueira a08e6ffa6f feat(cli): enhance Android dev port forwarding, use host IP for android devices, closes #11137 (#11185)
* feat(cli): enhance Android dev port forwarding, closes #11137

this changes the `android dev` port forwarding (that is actually handled by the `android-studio-script` command - triggered by our Gradle plugin) with some enhancements:

- make the whole process more resilient by checking if the port was actually forwarded and rerunning the `adb reverse` command until it tells us the forward is ready
- if the `adb devices` list is empty, retry a few times (waiting a few seconds) to tolerate devices being booted - slows down "raw builds" (Build Project Android Studio menu for instance) that shouldn't happen often anyway - if you're running `android dev` you're usually running the app on a device instead of simply testing builds

* use host IP to run on android physical device
2024-10-02 07:01:29 -03:00
..
2024-08-27 18:42:30 -03:00
2024-08-27 18:42:30 -03:00
2024-09-24 08:09:00 -03:00
2024-08-27 18:42:30 -03:00
2024-08-27 18:42:30 -03:00
2024-08-27 18:42:30 -03:00