[bug] Tauri 2.0: Building for Android in Linux: Execution failed for task ':app:rustBuildArmDebug'. #10886
Labels
platform: Android
platform: Linux
status: needs triage
This issue needs to triage, applied to new issues
type: bug
Describe the bug
Can't compile Tauri Project for Android.
This is a fresh, unmodified project created with pnpm and solidjs that works for the web on Linux.
However, after installing Android Studio and setting the proper environement variables, the project fails to compile for Android (see stack trace).
Reproduction
Follow the steps in https://v2.tauri.app/start/prerequisites/ for Linux
Create a tauri app using pnpm and solidjs
Install Android Studio on Linux, set your environment variables, create a desktop entry for android studio
Run
pnpm tauri android dev --open
Click on the green arrow in android studio
Expected behavior
No response
Full
tauri info
outputStack trace
Additional context
At first, I wasn't even able to run
pnpm tauri android dev --open
, becauseAndroid Studio
wasn't in my PATH (studio.sh
was). I had to create a Desktop Entry for Android Studio to even be able to makepnpm tauri android dev --open
open Android Studio.The text was updated successfully, but these errors were encountered: