#pnpm tauri android dev --open do not open any project in android-studio

7 messages · Page 1 of 1 (latest)

lethal juniper
#

I have the basic tauri app (following the doc) and it works on the host linux target (I am using debian)

now I want to use the android dev but I got some issue

I execute pnpm tauri android dev --open (I use --open due to same issue as: https://github.com/orgs/tauri-apps/discussions/14565)

and I get


> tauri-app@0.1.0 tauri /home/wighawag/dev/local/tauri/tauri-app
> tauri android dev --open

        Info Using installed NDK: /home/wighawag/.sdks/android/ndk/29.0.14206865
     Running BeforeDevCommand (`pnpm dev`)

> tauri-app@0.1.0 dev /home/wighawag/dev/local/tauri/tauri-app
> vite dev


  VITE v6.4.1  ready in 1333 ms

  ➜  Local:   http://localhost:1420/
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
        Info symlinking lib "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" in jniLibs dir "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/gen/android/app/src/main/jniLibs/arm64-v8a"
        Info "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" requires shared lib "libandroid.so"
        Info "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" requires shared lib "libdl.so"
        Info "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" requires shared lib "liblog.so"
        Info "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" requires shared lib "libm.so"
        Info "/home/wighawag/dev/local/tauri/tauri-app/src-tauri/target/aarch64-linux-android/debug/libtauri_app_lib.so" requires shared lib "libc.so"
        Info Opening Android Studio

And I get the Android Studio opening but it get stuck on the welcome screen

I expected it to launch a project or emulator to test the app

is there anything I am missing ?

#

my java runtime:

java --version
openjdk 21.0.9 2025-10-21
OpenJDK Runtime Environment (build 21.0.9+10-Debian-1deb13u1)
OpenJDK 64-Bit Server VM (build 21.0.9+10-Debian-1deb13u1, mixed mode, sharing)
#

this is my tauri info

[✔] Environment
    - OS: Debian 13.0.0 x86_64 (X64) (gnome on wayland)
    ✔ webkit2gtk-4.1: 2.50.1
    ✔ rsvg2: 2.60.0
    ✔ rustc: 1.91.1 (ed61e7d7e 2025-11-07)
    ✔ cargo: 1.91.1 (ea2d97820 2025-10-10)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 24.11.1
    - pnpm: 10.24.0
    - npm: 11.6.2

[-] Packages
    - tauri 🦀: 2.9.4
    - tauri-build 🦀: 2.5.3
    - wry 🦀: 0.53.5
    - tao 🦀: 0.34.5
    - @tauri-apps/api  ⱼₛ: 2.9.1
    - @tauri-apps/cli  ⱼₛ: 2.9.5

[-] Plugins
    - tauri-plugin-opener 🦀: 2.5.2
    - @tauri-apps/plugin-opener  ⱼₛ: 2.5.2

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte
    - bundler: Vite
lethal juniper
#

anyone having found a workaround for this ?
or at least a way to get more info into what is causing the issue ?

lethal juniper
#

I can run tauri android build without problem by the way

lethal juniper
#

I tried opening the app in rc-tauri/gen/android/app and it seems to be there all but when trying to execute on my phone I get the error

Error running 'app'
The currently selected variant "armDebug" uses split APKs, but none of the 1 split apks are compatible with the current device with ABIs "arm64-v8a".