Difference between revisions of "Android: Repo Sync Error"

From OnnoWiki
Jump to navigation Jump to search
(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...)
 
Line 1: Line 1:
 
Sumber: http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/
 
Sumber: http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/
  
Android repo sync error??
+
Pada saat kita melakukan
  
Today I tried re-syncing my gingerbread code to the latest version
+
repo sync
so I fired
 
  
 +
Dan memperoleh message berwarna merah
  
$ repo sync
+
error: .repo/manifests/: contains uncommitted changes
  
And lo! I got the error message:
+
Pemecahannya adalah, masuk ke folder [[source code]] android dan lakukan
 
 
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.
 
  
 +
cd ~/android-source
 +
cd ./repo/manifests
 +
git reset --hard
 +
repo sync
  
 +
Semoga lancar
  
  

Revision as of 03:38, 4 August 2012

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

Pada saat kita melakukan

repo sync

Dan memperoleh message berwarna merah

error: .repo/manifests/: contains uncommitted changes

Pemecahannya adalah, masuk ke folder source code android dan lakukan

cd ~/android-source 
cd ./repo/manifests
git reset --hard
repo sync

Semoga lancar


Referensi