2014-09-29 49 views
0

当我将更改提交到GIT存储库时,Android studio不断向我提供错误对话框“未检测到更改”。与Android Studio一起使用GIT时遇到问题

当我看到在事件日志中我看到这篇日志:

com.intellij.openapi.vcs.VcsException: dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk 
      Referenced from: /usr/local/git/bin/git 
      Expected in: /usr/lib/libSystem.B.dylib 
      dyld: Symbol not found: ___strlcpy_chk 
      Referenced from: /usr/local/git/bin/git 
      Expected in: /usr/lib/libSystem.B.dylib 
      during executing git log HEAD --branches --remotes --tags --encoding=UTF-8 --full-history --sparse --max-count=2000 --pretty=format:%x01%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%P%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 --full-history --sparse --: com.intellij.openapi.vcs.VcsException: dyld: lazy symbol binding failed: Symbol not found: ___strlcpy_chk 
      Referenced from: /usr/local/git/bin/git 
      Expected in: /usr/lib/libSystem.B.dylib 
      dyld: Symbol not found: ___strlcpy_chk 
      Referenced from: /usr/local/git/bin/git 
      Expected in: /usr/lib/libSystem.B.dylib 
      during executing git log HEAD --branches --remotes --tags --encoding=UTF-8 --full-history --sparse --max-count=2000 --pretty=format:%x01%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%P%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 --full-history --sparse -- 

任何人都可以解释这一点,并/或提供解决方案?

回答

0

this answer,你应该在Xcode安装命令行工具

打开Xcode和打CTRL +并单击Downloads

+0

xCode?真?我会试试这个,但是这让我想起了 – erik 2014-09-29 12:41:14

+0

你也可以在我提供的链接中尝试其他答案。有些人通过更新他们的'.bash_profile'解决了这个问题。 – 2014-09-29 12:45:36

+0

是的,他们在更新.bash_profile时看到了这些答案,但他们对我来说很希望 – erik 2014-09-29 12:48:08