feat: add Android ARMv8 (aarch64) build support

- Initialize Tauri Android project structure (gen/android)
- Fix desktop_dir() unavailability on Android in file_explorer.rs and serial.rs
- Fix minimize/maximize/unmaximize unavailability on Android in window.rs
- Remove updater:default permission from default capabilities (not available on Android)
- Update .gitignore for Android build artifacts
- Successfully builds APK for aarch64-linux-android target
This commit is contained in:
lenn
2026-05-11 19:38:01 +08:00
parent 83832139a8
commit a85ce0b4a2
47 changed files with 981 additions and 66 deletions

View File

@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile