No description
assets | ||
capabilities | ||
gen/android/app | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
README.md | ||
rustfmt.toml | ||
styles.scss | ||
tauri.conf.json | ||
trunk.html | ||
Trunk.toml |
Setup
git clone …
cargo tauri android init
git restore gen/android/app/build.gradle.kts
cargo tauri img/icon.svg
# Set up gen/android/keystore.properties
Run
Linux Development
Tauri does not seem to support specifying the binary to be run in a config, so we have to do it on the command line.
cargo tauri dev -- --bin tauri
Android Development
Tauri does not seem to support specifying the Cargo features of the library for mobile in a config, so we have to do it on the command line.
NDK_HOME=<path> ANDROID_HOME=<path> cargo tauri android dev --features tauri