QMUI_Android icon indicating copy to clipboard operation
QMUI_Android copied to clipboard

1.1.12编译报错Caused by: java.io.IOException: Cannot run program "git": CreateProcess error=2, 系统找不到指定的文件

Open azxcffdgadf opened this issue 7 years ago • 3 comments

在Android studio3.2.1版本上,编译报错: Caused by: java.io.IOException: Cannot run program "git": CreateProcess error=2, 系统找不到指定的文件。

azxcffdgadf avatar Jan 10 '19 08:01 azxcffdgadf

参考 https://github.com/Tencent/QMUI_Android/wiki/QMUI-Q-&-A 第4点

cgspine avatar Jan 11 '19 06:01 cgspine

我就是直接git clone源码编译的,也是报这个错。 android studio 3.3

ElivenLZY avatar Jan 16 '19 02:01 ElivenLZY

那应该是你的 android studio 确实了 git 路径,可以在 Android Studio -> Preferences(mac) 里搜索 git,查看配置

cgspine avatar Jan 16 '19 08:01 cgspine