Android Source, Git / Repo and error: '... /. Repo / repo / .git / clone.bundle 'doesn't look like a v2 package file

I'm having problems updating the Android source tree on Mac OS X (10.7.3), Intel x64. The code was set for Downloading the source tree , and Android SE was applied for. How do I get the Android SE code? .

According to Version Control with Repo and Git, I released repo sync , resulting in:

 error: '.../.repo/repo/.git/clone.bundle' does not look like a v2 bundle file 

I also tried using git pull , resulting in:

 fatal: Not a git repository (or any of the parent directories): .git 

Both commands were executed from the root of the source tree.

Any ideas?

Jeff

+4
source share
1 answer

I have the same error too.

You might want to try the repo again and try again.

 $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo 

There may be problems with checksums, which is probably due to the involvement of the last repo. Repeat repo init and repo sync .

0
source

Source: https://habr.com/ru/post/1400789/


All Articles