Issue in downloading Android Sourc

by R Arun » Fri, 25 Jun 2010 14:31:01 GMT


Sponsored Links
 i all,

I have tried to download the android source in my Ubuntu 9.04 (kernel
version 2.6.28-11-generic). I have followed the steps mentioned in the
site (http://source.android.com/source/download.html) to download. But
when i tried to initialize the 'repo' with the latest version of
repository using the command (repo init -u
git://android.git.kernel.org/platform/manifest.git),
i am getting the following error.

--------------------------------<Error Msg Snip
begin>--------------------------------------

r...@testpc-linux:~/bin/mydroid#repo init -u
git://android.git.kernel.org/platform/manifest.git
gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer
<r...@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1

Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed out
android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed out
android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out
android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
r...@testpc-linux:~/bin/mydroid#

-----------------------------------<Snip
End>----------------------------------------------

I have pinged all the ip address shown in the error message, but it
fails. I would appreciate any help to resolve this problem.

FYI: The steps that i have followed to download the Android Source is
attached inline.

Thanks in advance,
Arun


Steps followed to download the Android source:
======================================

1. Install the Packages (Git, JDK, flex, bison, gperf, libsdl-dev,
libesd0-dev, libwxgtk2.6-dev, build-essential, zip, curl) using the
follwing command
r...@testpc-linux:~# sudo apt-get install git-core gnupg sun-
java5-jdk flex bison gperf libsdl-dev libesd0-dev libwxgtk2.6-dev
build-essential zip curl libncurses5-dev zlib1g-dev

2. Install Valgrind using the following command.
r...@testpc-linux:~# sudo apt-get install valgrind

3. Install Repo with the following commands.
r...@testpc-linux:~# cd ~
r...@testpc-linux:~# mkdir bin
r...@testpc-linux:~# echo $PATH
r...@testpc-linux:~# curl http://android.git.kernel.org/repo >~/
bin/repo
r...@testpc-linux:~# chmod a+x ~/bin/repo

4. Initialize a Repo client with the following commands
r...@testpc-linux:~/bin# mkdir mydroid
r...@testpc-linux:~/bin/mydroid# cd mydroid
r...@testpc-linux:~/bin/mydroid# repo init -u
git://android.git.kernel.org/platform/manifest.git
gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer
<r...@android.kernel.org>" imported
gpg: Total number processed: 1
gpg: imported: 1

Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 204.152.191.45]: errno=Connection
timed



Issue in downloading Android Sourc

by R Arun » Fri, 25 Jun 2010 14:31:02 GMT


 Hi all,

I have tried to download the android source in my Ubuntu 9.04 (kernel
version 2.6.28-11-generic). I have followed the steps mentioned in the site
( http://source.android.com/source/download.html ) to download. But when i
tried to initialize the 'repo' with the latest version of repository using
the command (repo init -u git://android.git.kernel.org/platform/manifest.git),
i am getting the following error.

--------------------------------<Error Msg Snip
begin>--------------------------------------

r...@testpc-linux:~/bin/mydroid#repo init -u git://
android.git.kernel.org/platform/manifest.git
gpg: keyring `/root/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/root/.repoconfig/gnupg/pubring.gpg' created
gpg: /root/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <r...@android.kernel.org>"
imported
gpg: Total number processed: 1
gpg:               imported: 1

Getting repo ...
   from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 204.152.191.45]: errno=Connection timed out
android.git.kernel.org[0: 130.239.17.12]: errno=Connection timed out
android.git.kernel.org[0: 149.20.20.141]: errno=Connection timed out
android.git.kernel.org[0: 199.6.1.176]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
r...@testpc-linux:~/bin/mydroid#

-----------------------------------<Snip
End>----------------------------------------------

I have pinged all the ip address shown in the error message, but it fails. I
would appreciate any help to resolve this problem.

FYI: I have attached the file (Steps_Followed.txt) which contains the steps
that i have followed to download the Android Source.

Thanks in advance,
Arun

-- 


Sponsored Links


Issue in downloading Android Sourc

by Anil Babu » Sun, 27 Jun 2010 05:01:59 GMT


 i all

I think you are behind the proxy server.

Thanks
anil

On 6/25/10, R Arun <rarun...@gmail.com> wrote:


--
Thanks & Regards
Anil
9740402107

--



Issue in downloading Android Sourc

by Tammana » Mon, 28 Jun 2010 10:53:38 GMT


 i Arun,
You are behind the proxy and I guess you cannot download with "git://
android.git.kernel.org/tools/repo.git" (from your log)

Steps:
1. repo init -u http://android.git.kernel.org/platform/manifest.git

After it will download some files and kept in .repo folder.
You need to update the following two files in your sync dir.

2. .repo/manifest.xml (line 2 - replace this line "git://
android.git.kernel.org" with "http://android.git.kernel.org")
3. .repo/repo/repo (Line 5 - Replace this line with "git://
android.git.kernel.org/tools/repo.git" with "http://
android.git.kernel.org/tools/repo.git")

It means just you need to change "git" with "http" in the above two
places.

Hope it will download your source.
Thanks


On Jun 27, 10:01am, Anil Babu <anilba...@gmail.com> wrote:

--



Issue in downloading Android Sourc

by Kunal Jain » Mon, 28 Jun 2010 17:51:58 GMT


 f you are behind a proxy server, just try searching for "repo behind proxy"
and you will get the steps to configure it.

On Sun, Jun 27, 2010 at 10:31 AM, Anil Babu <anilba...@gmail.com> wrote:


--



Issue in downloading Android Sourc

by Bharathi Subramanian » Mon, 28 Jun 2010 17:52:02 GMT


 


Looks like firewall is blocking the outgoing git connection. Try with
HTTP or talk to your admin about this.


Working as root user for all task is bad habit. Switch to root, only
for doing the admin and rest of the time, work as normal user.

Bye :)
-- 
Bharathi Subramanian

-- 



Other Threads

1. Mgmktukkkekketkektktuekrzkktkkkkurktuekttkkkktkkkktkkt

-- 

2. Connect to desktop application

I have an application that will run on a desktop behind a router.  The
application makes a call to a webservice and updates its connection
information periodically.  The desktop has a database that I need to
retrieve information from via an Android phone.  The phone needs to
request the information from the application.  How do I connect the
application on the phone to the desktop application behind the router?
Thanks in advance,
Tom

-- 

3. Froyo coming August 3rd to Evo - are you ready?

4. Froyo coming August 3rd to Evo - are you ready?

5. My Eclipse 3.5 always lag and have to force close - why?

6. I need Ivt_bluesoleil_6.4.314.3 activation key

7. how can we create 9-patch images.