Android: Repo Sync Error

From OnnoWiki
Revision as of 03:39, 2 August 2012 by Onnowpurbo (talk | contribs) (New page: Sumber: http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/ Android repo sync error?? Today I tried re-syncing my gingerbread code to the latest version so I fired $ rep...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/

Android repo sync error??

Today I tried re-syncing my gingerbread code to the latest version so I fired


$ repo sync

And lo! I got the error message:

error: .repo/manifests/: contains uncommitted changes

After a bit of googling and going through the mailing lists, I finally found the solution:

1. Go to ./repo/manifests 2. $ git reset –hard 3. $ repo sync

[Please note that there are two dashes "- -" before 'hard'] And I am back in business.



Referensi