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

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

相关推荐

  1. ubuntu在使用su - root提示认证失败

    2024-04-25 09:24:01       37 阅读
  2. WPF 控件禁用,显示悬浮提示

    2024-04-25 09:24:01       25 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-25 09:24:01       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-25 09:24:01       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-25 09:24:01       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-25 09:24:01       20 阅读

热门阅读

  1. Element-plus使用记录

    2024-04-25 09:24:01       14 阅读
  2. FFmpeg常用实例详解

    2024-04-25 09:24:01       14 阅读
  3. watchEffect的使用

    2024-04-25 09:24:01       14 阅读
  4. IDEA->EasyCode(mapper.xml) 字段无逗号分割问题

    2024-04-25 09:24:01       16 阅读
  5. 执法记录仪如何防抖

    2024-04-25 09:24:01       13 阅读
  6. TiDB-PCTP考试复习

    2024-04-25 09:24:01       15 阅读
  7. STM32_警报装置

    2024-04-25 09:24:01       12 阅读
  8. 开发语言漫谈-ABAP

    2024-04-25 09:24:01       14 阅读
  9. 常用的机器学习模型算法

    2024-04-25 09:24:01       12 阅读
  10. C#算法之冒泡排序算法

    2024-04-25 09:24:01       13 阅读