When retrieving the android code today, the following error message is displayed in the repo init:
I searched online and solved the problem with the help of the following post:
Http://bbs.csdn.net/topics/390705429
The solution mentioned in this post is:
Method 1:
This problem occurs because the repo version is incorrect. for specific reasons, you can search for it online. It is said that the error is caused by Google Code transfer. After I changed the repo, the problem has been resolved. Curl http://commondatastorage.googleapis.com/git-repo-downloads/repo> ~ /Bin/Repo
Method 2:
I also encountered the same problems as the landlord. My solution is to delete. repoconfig ($ sudo Rm-R ~ /. Repoconfig), and then repo init to solve the problem.
Why is there such a problem? You can check whether the repo code you downloaded has written a new. repoconfig folder to save signature version information. If you have used repo from other sources, the signature information in repo init is inconsistent with the content in. repoconfig. This error is reported. Delete this folder and use the current repo on your computer to generate a new signature.
I used method 2 and then solved the problem.