代码之家  ›  专栏  ›  技术社区  ›  Sumchans

Flutter医生即使安装了椰子也无法识别椰子

  •  0
  • Sumchans  · 技术社区  · 3 年前

    我有一台M1 Mac。直到上周,我一直让这个应用程序运行得很好。在过去的两天里,我正试图找出以下问题的解决方案- enter image description here

    这是长笛医生说的- enter image description here

    这就是创业板名单上说的-

    enter image description here

    这就是我迄今为止所尝试的-

    1. sudo gem卸载cocoapods

    2.sudo gem安装cocoapods

    运行应用程序时,我遇到了同样的错误。

    然后我卸载了cocoapods并安装了brew-

    1.sudo gem卸载了cocoapods

    2.冲泡装茧

    3.吊舱设置

    运行应用程序时,我遇到了同样的错误。我安装了椰子,为什么在运行应用程序时说不安装,在运行扑动医生时说不使用?

    我已经尝试了stackoverflow和github中提到的许多步骤。

    0 回复  |  直到 3 年前
        1
  •  0
  •   Muhammad Hussain    3 年前
    sudo gem uninstall cocoapods
    sudo gem uninstall cocoapods-core
    sudo gem install cocoapods
    

    然后在运行前关闭并打开终端 flutter doctor