Mobile Client for KitX
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.
❗ 请使用实体机调试,任何模拟器都可能出现不可预料的问题 ❗
请先检查您的 Flutter 版本为 3.3.3 且(非必须步骤,但可能出问题)flutter doctor -v
通过
使用 Windows 开发时,可以参考以下命令配置临时 flutter 镜像(仅在当前窗口有效):
set PUB_HOSTED_URL=https://mirrors.tuna.tsinghua.edu.cn/dart-pub set FLUTTER_STORAGE_BASE_URL=https://mirrors.tuna.tsinghua.edu.cn/flutter
若要配置永久镜像,请修改系统环境变量
在编译时,如出现输出乱码,请修改系统环境变量
GRADLE_OPTS
为-Dfile.encoding=UTF-8
即可解决
在更改 assets 文件夹内容以后,必须运行
kitx_mobile/cmds.bat
以保证 assets 读取不出错
在遇到任何问题时也可以运行
kitx_mobile/cmds.bat
尝试解决