AndroidStudio更改主题
setting-> apperance&behavior ->appearance -> theme
AndroidStudio显示Git的Push按钮
AndroidStudio 提示Dart SDK not found
Setting -> 搜索Dart -> 设置DarkSDk (安装Flutter自动设置DartSDK) 目录为Flutter安装路径incachedart-sdk
AndroidStudio 卡在Running "flutter pub get"
Windows平台添加环境变量
PUB_HOSTED_URL -------> https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL ----------> https://storage.flutter-io.cn
运行Flutter doctor 出现 Waiting for another flutter command to release the startup lock
出现原因:添加依赖失败在运行flutter Doctor会出现次错误
解决方法:
- 打开flutter的安装目录/bin/cache/
- 删除lockfile文件(如遇占用->打开任务管理器结束所有dart.exe程序即可删除)
- 重启AndroidStudio
Flutter 如何更新版本
运行 flutter upgrade --force 命令即可
版本更新以后 出现 Could not resolve io.flutter:arm64_v8a_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
执行 flutter channel stable && flutter upgrade 然后在编译项目即可