mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
* 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
180 B
180 B
tauri-cli, @tauri-apps/cli
| tauri-cli | @tauri-apps/cli |
|---|---|
| patch:enhance | patch:enhance |
Enhance port forwarding on android dev to be more resilient and tolerate delays when booting up devices.