Hi,

last night same happens to me also..
Network traffic is the only cause for this, you keep trying.
I wrote a script to run the repo sync command in a loop till it
successfully executed.
you can put something like this:

#! /bin/sh
repo sync
ret_val = echo $?
if  [ $ret_val != 0 ]
then
while [ 1 ]
do
repo sync
done
fi

Note: This script can be optimized in a better way, this is just a
reference.

Regards,
Jack

On Nov 18, 4:23 pm, Dmitry <[email protected]> wrote:
> you can try to modify .py script -http://android.amberfog.com/?p=230
>
> On Nov 5, 12:40 pm, Thimmarayaswamy Krishnappa
>
> <[email protected]> wrote:
> > Dear Brad Shen,
>
> > Same problem occurred to me.
> > Hope it was due to Network connection problem or because of git server
> > is down.
> > I tried three time again and again, finally downloaded.
>
> > So keep try,
> > # repo init -u git://android.git.kernel.org/platform/manifest.git -b
> > cupcake
> > # repo sync
>
> > You will succeed.
> > All the best.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to