我已經用repo下載了Android源代碼,然後我在frameworks/base/packages中做了一些更改。現在,當我試圖做回購同步,它給了我這個錯誤:如何在進行更改後同步android repo?
Syncing work tree: 60% (151/251) error: You have local changes to 'packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java'; cannot switch branches.
如何修復和升級所有的都沒有變化的項目?
你可以做一個 「[git的藏匿處(http://book.git-scm.com/4_stashing.html)」 和 「混帳藏匿應用」 在框架/基地實例。 – Jens 2012-04-28 19:49:22
使用repo工具,我得到'致命的:不是git倉庫(或任何父目錄):.git',因爲沒有.git目錄。只需一個.repo目錄。 – GrandAdmiral 2014-09-09 21:18:40
嗨,獲取相同的錯誤。任何評論 – Ghost 2014-11-13 06:47:37