2014-09-29 48 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