前端前端bugbug修复
omiGit
无法连接到github
$ git config --global http.proxy socks5 127.0.0.1:(代理端口) $ git config --global https.proxy socks5 127.0.0.1:(代理端口) $ git config --global https.proxy 127.0.0.1:(代理端口) $ git config --global http.proxy 127.0.0.1:(代理端口)
|
FireBase
firebase login无法登录
$ set NODE_TLS_REJECT_UNAUTHORIZED=0
$ set http_proxy=http://127.0.0.1:vpn端口 $ set https_proxy=http://127.0.0.1:vpn端口
$ firebase login --no-localhost
|
flutter
flutter下载canvasKit或包卡住
$ export PUB_HOSTED_URL=https://pub.flutter-io.cn $ export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
|
flutter run -d 安卓设备(卡住)
$ flutter doctor
$ cd android $ ./gradlew clean build
|
audioplayers视频无法播放
# 路径不用加/assets player.play(AssetSource('assets_note2.wav'))
|
flutter2->3
error: ProcessException: Process exited abnormally
$ flutter channel stable/beta/master $ flutter upgrade
$ git checkout -- .
|
组件内部返回上一页
我的UI结构: 登录注册页->注册页->注册页子组件按钮,直接路由会黑屏
Back(pContext: context)
final BuildContext pContext; const Header({Key? key, required this.pContext}) : super(key: key); onPressed: () { Navigator.pop(widget.pContext); }
|
windows系统
windows不支持yarn
yarn : 无法加载文件 C:\Users\Administrator\AppData\Roaming\npm\yarn.ps1
$ set-ExecutionPolicy RemoteSigned
|
vscod字体变宽
flutter升级gradle与gradle plugin