Hi, I'm trying to run an existing v1 Tauri app on android using the v2 CLI. I've changed the versions of tauri and tauri-build in src-tauri/Cargo.toml to 2.0.0-alpha and upgraded tauri-cli to 2.0..0-alpha.14. I've run cargo tauri android init successfully, but when I try to run cargo tauri android build or cargo tauri android dev, I get this error:
error: no library targets found in package `app`
Error `Failed to run `cargo build`: command ["cargo", "build", "--package", "app", "--manifest-path", "/home/dacid44/Documents/Rust/d4ft4/d4ft4-gui/src-tauri/Cargo.toml", "--target", "aarch64-linux-android", "--lib", "--release"] exited with code 101
It looks like it's expecting my project to be a library instead of a binary. Running cargo tauri dev as normal works fine, though. Do I need to migrate my app to v2 somehow? Is there a migration guide somewhere? All the tutorials I've found for Tauri v2 have assumed you're creating a new app from scratch.
As a secondary issue, do the file open and save dialogs exist in Tauri v2? How do I use them, at least on desktop? I was told by the Tauri CLI that the allowlist option in the config is no longer allowed, and that the feature flags needed to be removed from the Cargo.toml I'd understand if the mobile versions weren't quite working yet, though I'd assume at least the open dialog would open the android file picker (once it's implemented).
Thanks!
