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...)
 
 
(4 intermediate revisions by the same user not shown)
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
+
cd ~/android-source
 +
cd .repo/manifests
 +
git reset --hard
 +
repo sync &
  
After a bit of googling and going through the mailing lists, I finally found the solution:
+
Semoga lancar
  
1. Go to ./repo/manifests
 
2. $ git reset –hard
 
3. $ repo sync
 
  
[Please note that there are two dashes "- -" before 'hard']
+
==Selesai Download Repo==
And I am back in business.
 
  
 +
Biasanya saat selesai download repo memang akan keluar kata-kata
  
 +
info: A new version of repo is available
 +
error: .repo/repo/: contains uncommitted changes
 +
 +
Itu normal ..
  
  
Line 28: Line 32:
  
 
* http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/
 
* http://rechtzeit.wordpress.com/2011/03/21/android-repo-sync-error/
 +
 +
 +
==Pranala Menarik==
 +
 +
* [[Android: Build Image]]
 +
* [[Android: Inisialiasi Build Environment]]
 +
* [[Android: Download Repo Source Code Android]]
 +
* [[Android: Repo Sync Error]]
 +
* [[Android: Build dan Run]]
 +
* [[Android: Build untuk Device]]
 +
* [[Android: Build Kernel]]

Latest revision as of 04:33, 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


Selesai Download Repo

Biasanya saat selesai download repo memang akan keluar kata-kata

info: A new version of repo is available
error: .repo/repo/: contains uncommitted changes

Itu normal ..


Referensi


Pranala Menarik