We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation of a fresh Tauri 2 template app, triggers this pop-up on modern Android devices:
${package manager} run tauri android dev
There should not be an "older version of Android" popup
tauri info
[✔] Environment - OS: Mac OS 14.6.1 X64 ✔ Xcode Command Line Tools: installed ✔ rustc: 1.80.1 (3f5fd8dd4 2024-08-06) ✔ cargo: 1.80.1 (376290515 2024-07-16) ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24) ✔ Rust toolchain: stable-aarch64-apple-darwin (default) - node: 20.9.0 - yarn: 1.22.19 - npm: 10.1.0 - bun: 1.1.25 [-] Packages - tauri [RUST]: 2.0.0-rc.5 - tauri-build [RUST]: 2.0.0-rc.5 - wry [RUST]: 0.42.0 - tao [RUST]: 0.29.0 - @tauri-apps/api [NPM]: 2.0.0-rc.2 - @tauri-apps/cli [NPM]: 2.0.0-rc.6 [-] App - build-type: bundle - CSP: unset - frontendDist: ../dist - devUrl: http://localhost:1420/ - framework: SolidJS - bundler: Vite [-] iOS - Developer Teams: (redacted)
No response
Looks like #10558 accidentally removed targetSdk for the Android Application.
targetSdk
See the 2nd part of this answer: https://stackoverflow.com/a/75280536
There should still be targetSdk = 34 in the Android block
targetSdk = 34
The text was updated successfully, but these errors were encountered:
As mentioned, adding targetSdk = 34 to src-tauri/gen/android/app/build.gradle.kts -> android { defaultConfig { ... } } fixes the issue for me.
src-tauri/gen/android/app/build.gradle.kts
android { defaultConfig { ... } }
Sorry, something went wrong.
fix(cli): readd targetSdk to Android app template, closes #10712
a5e6249
Regression from #10558
9718dc9
lucasfernog
No branches or pull requests
Describe the bug
Installation of a fresh Tauri 2 template app, triggers this pop-up on modern Android devices:
Reproduction
${package manager} run tauri android dev
Expected behavior
There should not be an "older version of Android" popup
Full
tauri info
outputStack trace
No response
Additional context
Looks like #10558 accidentally removed
targetSdk
for the Android Application.See the 2nd part of this answer: https://stackoverflow.com/a/75280536
There should still be
targetSdk = 34
in the Android blockThe text was updated successfully, but these errors were encountered: