files-path 映射到 getFilesDir() 即 /data/data/<pkg>/files/, 但 Flutter getApplicationDocumentsDirectory() 返回 /data/data/<pkg>/app_flutter/, 两者是同级目录而非父子关系,files-path 无法覆盖。 使用 root-path 映射设备根路径 /,确保所有内部路径都能被 FileProvider 解析。 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.