Solution for IOError: [Errno 2] No such file or directory: '/home/<user_name>/ mydroid/.repo/manifests/.git/HEAD'

549 views
Skip to first unread message

swarup doshi

unread,
Nov 6, 2009, 1:26:00 PM11/6/09
to omap...@googlegroups.com
Hi all,

I got an error when I tried using repo command to get the source:

Command: $ repo init -u git://android.git.kernel.org/platform/manifest.git or
Command: $ repo init -u $MANIFEST

Error: IOError: [Errno 2] No such file or directory: '/home/<user_name>/ mydroid/.repo/manifests/.git/HEAD'

I tried got a solution from Android Developers which worked for me. The solution is as shown below:

Solution:

"touch ~/.gitconfig" (without quotes)
"rm -rf .repo" (without quotes)

I hope this helps.

Regards,
Swarup Doshi

Reply all
Reply to author
Forward
0 new messages