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. Link between NetworkInterface and NetworkInfo

Is there a link between NetworkInterface and NetworkInfo?

NetworkInterface tells the IP address, and NetworkInfo tells me the
type, but how do I make the connection between IP address and type?

Thanks

Neil

-- 

2. Extending SimpleCursorAdapter

I'm an Android newbie, stuck on a problem for a over week now, if I
knew what I was doing it would be 10 minutes work.

Im using the NotePad example as a base for an application. This binds
a ListActivity to a Provider.

Its perfect, except it uses SimpleCursorAdaptor, which means the list
only binds to and displays one item per row. I want it to display two
items, both bound the Provider. Or more accurately display the text
from one Content Provider field and an icon which depends on the value
of a different field.

This sounds like a pretty simple thing to do, a very slight
modification to the NotePad application. Trouble is, I have no idea on
*how* to do it. I really need a starting point, and "approach" to use.

So far I have tried (unsuccessfully):

* Hand populating the ListView by reading in the Provider data and
populating an array in OnCreate. This works, except as the data is not
bound the List does not update when I add an item.

* Extending SimpleCursorAdapter with a custom getViewBinder. Could
still only bind to a single column.

* Building my own ListAdaptor. Couldn't get this to work.

* Concatenating both fileds together and "parsing" 2 fields into 1
field read/write.

The next thing I will try is extremely tacky running two separate
simpleCursorAdaptors in two views in a Linear Layout, fudged so the
row height is identical, and duplicate the logic.

I say this only to show that I really, really have tried.

Could someone give me at least a hint as to how I can create a custom
CursorAdaptor which binds to two fields instead of just one like
SimpleCursorAdapter? There must be some easy way ????

Sorry/thanks/help

Peter Webb

-- 

3. Can u help me to find the mistake? i can't run this program.

4. Preventing wifi interface from shutting down

5. Vertex buffer object corruption on MSM720xa

6. Dialog not displayed properly in Landscape mode

7. Content Service Crash