The instructions on how to download repo are in the link in Glenn's message: http://source.android.com/source/downloading.html#installing-repo
- Dan On Fri, Jan 13, 2017 at 11:29 AM Jamie Jackson <[email protected]> wrote: > Where do I get a fresh copy of the repo? I def found the error message you > speak of > > On Friday, December 20, 2013 at 5:22:28 PM UTC-5, Glenn Kasten wrote: > > Your copy of 'repo' tool in /home/here/bin is corrupt. Probably the > download failed and was replaced by an error message in HTML. > Get a fresh copy of repo, look at it to make sure it's a valid script. > It should start with something like this: > #!/usr/bin/env python > ## repo default configuration > Then mark it executable with chmod +x. > See http://source.android.com/source/downloading.html for how to download > repo. > > On Friday, December 20, 2013 12:35:10 PM UTC-8, [email protected] > wrote: > > I have never had this happen. I cannot get repo to initialize. I keep > getting this: > Code: > > here@here:~$ cd mydroid/Freescale/droid > here@here:~/mydroid/Freescale/droid$ PATH=~/bin:$PATH > here@here:~/mydroid/Freescale/droid$ repo init -u > https://android.googlesource.com/platform/manifest -b android-4.3_r2.1 > /home/here/bin/repo: line 1: syntax error near unexpected token `newline' > /home/here/bin/repo: line 1: `<!DOCTYPE html>' > here@here:~/mydroid/Freescale/droid$ > > I uninstalled it, re-downloaded, and re-installed it. Still I get this. I > have search all over and can't find anything on this. I do know the problem > seems to be within repo, but I don't know how to fix it.Any and all help is > greatly appreciated. > Thanks, > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
