💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## 安装 ### 设置代理 ``` export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn ``` ### 安装教程 https://flutter.cn/docs/get-started/install ### window ``` > choco install flutter -y > flutter doctor // 检测系统是否存在多个 flutter dart ``` 执行安装缺少的文件 ``` > flutter doctor [!] Flutter (Channel stable, 3.0.2, on Microsoft Windows [版本 10.0.19045.3803], locale zh-CN) ! Warning: `dart` on your path resolves to C:\tools\dart-sdk\bin\dart.exe, which is not inside your current Flutter SDK checkout at C:\tools\flutter. Consider adding C:\tools\flutter\bin to the front of your path. [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.1) [√] Android Studio (version 2021.1) [√] IntelliJ IDEA Ultimate Edition (version 2023.2) [√] Connected device (3 available) [√] Network resources ``` ### 远程调试 1. 手机 UBS 连接电脑 2. 查询设备当前的 IP 地址 (设置 →关于手机→状态) 3. `adb tcpip 5555` 4. 拔掉你的数据线 5. `adb connect 设备IP地址:5555` 6. `scrcpy`启动 或设置 码率启动`scrcpy -b 3M -m 800`意思是限制 3 Mbps,画面分辨率限制 800 7. 如需切换回 USB 模式,执行:adb usb