tauri icon indicating copy to clipboard operation
tauri copied to clipboard

[bug] V2 pnpm tauri android dev just hands and does nothing - Ubuntu 24.4.0

Open Xenoha opened this issue 1 year ago • 11 comments

Describe the bug

pnpm Tauri android dev just hangs with no output or action. --verbose doesn't assist.

Reproduction

pnpm create tauri-app --rc cd tauri-app pnpm i pnpm tauri android init pnpm tauri dev -- builds and launches pnpm tauri android dev: hangs pnpm tauri android dev --open: opens android studio and will run the app after I open the emulator

Expected behavior

I would expect something to start compiling and then for the emulator to launch

Full tauri info output

[✔] Environment
    - OS: Ubuntu 24.4.0 x86_64 (X64)
    ✔ webkit2gtk-4.1: 2.44.3
    ✔ rsvg2: 2.58.0
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 22.8.0
    - pnpm: 9.11.0
    - npm: 10.8.2

[-] Packages
    - tauri 🦀: 2.0.0-rc.15
    - tauri-build 🦀: 2.0.0-rc.12
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.2
    - @tauri-apps/api : 2.0.0-rc.5
    - @tauri-apps/cli : 2.0.0-rc.16

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : 2.0.0-rc.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace

No response

Additional context

.zshrc exports export JAVA_HOME=/snap/android-studio/current/jbr export ANDROID_HOME="$HOME/Android/Sdk" export NDK_HOME="$ANDROID_HOME/ndk/$(ls -1 $ANDROID_HOME/ndk)"

Android studio: CompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true Android Studio Koala | 2024.1.1 Build #AI-241.15989.150.2411.11948838

Note that 'pnpm tauri android dev --open' starts compiling and then opens android studio.

Xenoha avatar Sep 24 '24 02:09 Xenoha