Tauri CLI 2.10.x silently skips copying the frontendDist (desktop/dist/) to gen/android/app/src/main/assets/ on Android builds. The WebView then fails at runtime with "Asset not found: index.html". After cargo tauri android build, check if index.html landed in the Android assets folder. If not (the bug path), copy dist/ manually and re-run ./gradlew assembleUniversalRelease. Gradle is incremental here (no Java/Kotlin changed) so the extra pass takes < 30s. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 KiB
Executable File
18 KiB
Executable File