You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting the required environment variable and creating the application with
cargo create-tauri-app angular-app -m npm -t angular -y
cd angular-app
npm install
npm run tauri android init
the command npm run tauri android init keeps displaying Waiting for your frontend dev server to start ... and nothing happens on the device.
If I perform the exact same commands but use the template vue-ts instead of angular, it works as expected : the application starts on my device. The beginning of the output in this case is as follow
After the "Locking ..." message, some compilation is performed for a while and then the application is sent to the device (Performing Streamed Install is displayed in the console). This step does not seems to occur when using the angular template.
Reproduction
Although, the applications are created by using standard commands, the code is available at :
Describe the bug
After setting the required environment variable and creating the application with
the command
npm run tauri android init
keeps displayingWaiting for your frontend dev server to start ...
and nothing happens on the device.If I perform the exact same commands but use the template
vue-ts
instead ofangular
, it works as expected : the application starts on my device. The beginning of the output in this case is as followAfter the "Locking ..." message, some compilation is performed for a while and then the application is sent to the device (
Performing Streamed Install
is displayed in the console). This step does not seems to occur when using the angular template.Reproduction
Although, the applications are created by using standard commands, the code is available at :
https://github.com/baracil/tauri_sandbox
Expected behavior
The command
npm run tauri android dev
should launch the application on the android device.Full
tauri info
outputStack trace
No response
Additional context
Here is the ouput of
tauri info
for the project using the vue templateOutput of
cargo tauri info
executed in thevue-app
project:[✔] Environment
- OS: Manjaro 24.1.2 x86_64 (X64)
✔ webkit2gtk-4.1: 2.44.4
✔ rsvg2: 2.58.4
✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
- node: 22.11.0
- npm: 10.9.0
[-] Packages
- tauri 🦀: 2.1.1
- tauri-build 🦀: 2.0.3
- wry 🦀: 0.47.2
- tao 🦀: 0.30.8
- tauri-cli 🦀: 2.1.0
- @tauri-apps/api : 2.1.1
- @tauri-apps/cli : 2.1.0
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: Vue.js
- bundler: Vite
The text was updated successfully, but these errors were encountered: