Flutter pod install 时提示Error installing GoogleUtilitiesComponents

设备:Mac air M3 2024

环境:

Mac 14.4.1

Flutter 3.19.5

Android Studio 2023.2

在调用pod install安装插件时,前面成功了几个插件,后面停止在GoogleUtilitiesCompomponents上,等待一会儿后,出现

Error installing GoogleUtilitiesComponents

于是先把gem升级,再使用pod update更新项目podfile

1、更新gem 版本sudo gem update ---system

2、更新项目podfile : pod update (更新项目podfile)

结果在pod update的时候还是提示Error installing GoogleUtilitiesComponents,

根据错误的提示:

RPC FAILED;CURL 92 HTTP/2 stream 5 was not closed cleanly:CANCEL

fatal:early EOF

...

怀疑是请求交互的缓冲区出了问题,连接提前中止了,于是执行命令调整缓冲区

git config --global http.postBuffer 4194304000

执行完后,继续pod update

看到了熟悉的绿色,一路通畅~~

相关推荐
君赏5 天前
棉宇宙 Flutter 热更新是如何落地的
flutter
恋猫de小郭5 天前
AndroidX 新增 Security State ,支持可编程的系统安全状态查询
android·前端·flutter
zihan5185 天前
自己做软件日记9/21 得到了一个良好的文件结构框架
后端·flutter·前端框架·android studio
ZFJ_张福杰6 天前
【Flutter】Flutter 中有哪些耗时操作?从 UI 卡顿到 Isolate 性能优化
flutter·性能优化·卡顿·isolate
sakiko_6 天前
Flutter:Dart学习笔记1:基础UI组件等
flutter
9765033356 天前
iOS 上架 4.3a 被拒【uniapp专讲】
flutter·ios·objective-c·uniapp·swift
传奇开心果编程6 天前
【Flutter入门练中学】第2课:布局系统
学习·flutter·ui
君赏6 天前
FlutterPatch:把 Shorebird 热更新的控制面搬回自己服务器
flutter
用户2181697049307 天前
Flutter tootip 轻量级提示
flutter
用户2181697049307 天前
Flutter 拖拽 Draggable DragTarget
flutter