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

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

相关推荐
maaath40 分钟前
【maaath】Flutter for OpenHarmony 实战:电影榜单应用开发指南
flutter·华为·harmonyos
xmdy58664 小时前
Flutter+开源鸿蒙实战|智安盾电商溯源平台Day6 登录逻辑+积分体系+全局收尾优化
flutter·华为·harmonyos
liulian09164 小时前
Flutter for OpenHarmony 工具类应用实战总结:计算器 + 记事本功能开发全解析
flutter
911hzh6 小时前
Flutter WebRTC iOS 原理解析:从 getUserMedia 到 Texture,讲清视频采集、纹理渲染与远端通话链路
flutter·ios·webrtc
xmdy58666 小时前
Flutter+开源鸿蒙实战|智联邻里Day1 项目搭建+环境适配+架构规划(十五五民生创新版)
flutter·开源·harmonyos
maaath6 小时前
【maaath】Flutter for OpenHarmony 音乐播放器应用实战开发
flutter·华为·harmonyos
maaath7 小时前
【maaath】 Flutter for OpenHarmony 实战:图片壁纸应用开发指南
flutter·华为·harmonyos
maaath7 小时前
【maaath】Flutter for OpenHarmony:跨平台天气应用开发指南
flutter·华为·harmonyos
maaath7 小时前
【maaath】Flutter for OpenHarmony 宠物社区应用实战开发
flutter·华为·harmonyos
maaath7 小时前
【maaath】Flutter for OpenHarmony 实战:健身运动应用的跨平台开发指南
flutter·华为·harmonyos