feat: Flutter APK 编译成功 + Gradle 配置修复 + APK 下载部署 + 待优化清单

- 通过 qemu-user-static 实现 ARM64 主机编译 Android APK (51MB)
- 修复 Gradle: Aliyun 镜像 + PREFER_SETTINGS + JVM 内存 1536M
- 部署 APK 到 configs/downloads/, Web 下载接口已验证 (HTTP 200)
- 新增 Flutter TODO.md: 10项待优化 (P0/P1/P2 分级)
- 新增 pm_soul.md, 更新 routes.rs APK 下载路由

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
showen
2026-03-14 06:43:55 +08:00
parent bff9ec535d
commit 8ed9cb2d9d
24 changed files with 1034 additions and 20 deletions

View File

@@ -61,3 +61,9 @@
- 代码行数从 176 行减少到 ~60 行(减少约 66%
- 测试更新src/core/tests.rs 中 screen_plugin_must_have_no_dependencies 改为 screen_plugin_must_depend_on_device
- 架构优势ScreenPlugin 现在只做消息转发,硬件操作统一由 DevicePlugin 管理
## Rust Release 编译记录2026-03-14
- 按固定流程先注入 `stable-aarch64-unknown-linux-gnu` 工具链 PATH再依次执行 `cargo check --workspace --all-targets``cargo test --workspace``cargo build --release`
- `cargo test --workspace` 全量通过:示例插件 4 个测试通过,主工程 77 个测试通过doc-tests 均通过或按预期 ignored
- Release 产物已生成:`target/release/showen_v2`,当前大小约 `8.2M`
- 本次 `cargo check` 编译阶段无 Rust 编译 warning但依赖下载阶段出现 crates 镜像网络层 `spurious network error` 重试提示,需与“零 warning”验收标准区分记录