代码之家  ›  专栏  ›  技术社区  ›  Malwinder Singh

终端:IOException:执行类型错误:未知原因

  •  2
  • Malwinder Singh  · 技术社区  · 7 年前

    删除项目文件夹和项目/应用程序/文件夹中存在的生成文件夹后,当我尝试在本地终端(按“+”键)打开新会话时,出现以下错误:

    enter image description here

    可能的原因是什么?

    Android Studio版本:3.1.2

    操作系统:Macos Sierra

    1 回复  |  直到 7 年前
        1
  •  2
  •   Imaya    7 年前

    经历过同样的问题,尽管我不知道是什么引起的。

    但是对于那些正在寻找解决方案的人:

    我通过使缓存失效并重新启动Android Studio来修复它。

    Go to File -> Invalidate Caches/Restart. 
    

    这应该解决问题。