Problem download source code in linux (ubuntu 8.04)

by FERjon » Thu, 23 Oct 2008 00:10:45 GMT


Sponsored Links
 I am having this problem when doing "repo sync" to get the source
code.

 :~$repo sync
fatal: The remote end hung up unexpectedly
error: Cannot fetch platform/bootloader/legacy

I get this error as the download progresses. How can I solve this
problem?


FerJon

--~--~---------~--~----~------------~-------~--~----~



Problem download source code in linux (ubuntu 8.04)

by Rob Franz » Thu, 23 Oct 2008 00:31:30 GMT


 I see this one too - I posted about this earlier.  If you find out the
cause, please share!





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Problem download source code in linux (ubuntu 8.04)

by Rob Franz » Thu, 23 Oct 2008 00:36:14 GMT


 It looks like I finally got it completed:
[EMAIL PROTECTED] /store/android $ repo sync
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 62 (delta 13), reused 62 (delta 13)
Unpacking objects: 100% (62/62), done.
 * [new branch]      master     -> korg/master
 * [new branch]      release-1.0 -> korg/release-1.0
 * [new tag]         android-1.0 -> android-1.0

Initializing project platform/system/wlan/ti ...
remote: Counting objects: 589, done.
remote: Compressing objects: 100% (333/333), done.
remote: Total 589 (delta 240), reused 589 (delta 240)
Receiving objects: 100% (589/589), 1.89 MiB | 850 KiB/s, done.
Resolving deltas: 100% (240/240), done.
 * [new branch]      master     -> korg/master
 * [new branch]      release-1.0 -> korg/release-1.0
 * [new tag]         android-1.0 -> android-1.0
Checking out files: 100% (5583/5583), done.
Checking out files: 100% (2143/2143), done.
Checking out files: 100% (393/393), done.
Checking out files: 100% (58/58), done.
Checking out files: 100% (91/91), done.
Checking out files: 100% (3772/3772), done.
Checking out files: 100% (211/211), done.
Checking out files: 100% (2828/2828), done.
Checking out files: 100% (1099/1099), done.
Checking out files: 100% (449/449), done.
Checking out files: 100% (888/888), done.
Checking out files: 100% (7861/7861), done.
Checking out files: 100% (3969/3969), done.
Checking out files: 100% (23897/23897), done.
Checking out files: 100% (118/118), done.
Checking out files: 100% (720/720), done.
[EMAIL PROTECTED] /store/android $

Took a look and the source is there.  I think you just need to keep retrying
until it doesn't time out.

-rob







--~--~---------~--~----~------------~-------~--~----~



Problem download source code in linux (ubuntu 8.04)

by Maarek » Thu, 23 Oct 2008 01:50:41 GMT


 OPEN Repo and look at the link provided.

here's the new command to run repo

$ curl  http://android.git.kernel.org/repo > ;~/bin/repo

Than the correct data will be there.

go into your "mydroid" directory and run the command they listed.

$ repo init -u git://android.git.kernel.org/platform/manifest.git

that'll start the download of the files.

finally, sync it.

$ repo sync

that's it, everything's in the mydroid directory.

--~--~---------~--~----~------------~-------~--~----~



Problem download source code in linux (ubuntu 8.04)

by [EMAIL PROTECTED] » Thu, 23 Oct 2008 01:58:47 GMT


 me too .. on my Mac I always get:

$ repo sync
git.webkit.org[0: 74.86.47.130]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
error: Cannot fetch platform/external/webkit

too bad .. didn't find a solution yet, other than retrying .. without
success so far :-(






--~--~---------~--~----~------------~-------~--~----~



Problem download source code in linux (ubuntu 8.04)

by Bicou » Thu, 23 Oct 2008 08:14:39 GMT


 same as dpleiss here :(

On 22 oct, 19:38, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>





--~--~---------~--~----~------------~-------~--~----~



Problem download source code in linux (ubuntu 8.04)

by fajaven » Tue, 18 Nov 2008 23:12:15 GMT


 It seems we should place  repo script into ~/bin dir OR /bin dir.

I got the same error when I place the repo script into my own dir.
After changing to /bin dir, and remove ${srcDir}/.repo/project dir,
and then,  "repo sync", it runs ok.








--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Unable to record using MediaRecorder

I've been trying this for over a day and haven't found anyone who
seems to know, so I'm hoping someone can help.

Every time I try to record, I get the following error:
java.lang.RuntimeException: start failed.

I've added the following to my manifest file:
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
My code is below:


ImageButton btnRec = (ImageButton) findViewById( R.id.btnRec );
       if( btnRec != null ){
           btnRec.setOnClickListener( new OnClickListener(){
              public void onClick( View viewParam ) {
                  try{
                           /*Create an Intent that will start your Activity
*/
                          recorder.setAudioSource
(MediaRecorder.AudioSource.MIC);
                          recorder.setOutputFormat
(MediaRecorder.OutputFormat.THREE_GPP);
                          recorder.setAudioEncoder
(MediaRecorder.AudioEncoder.AMR_NB);
                          recorder.setOutputFile("TesterPath");
                          recorder.prepare();
                          recorder.start();   // Recording is now started
                          tvStatus.setText("Recording now");
                  } catch (IllegalStateException e) {
                          tvError.setText("IllegealState Error found: " + e);
                      } catch (Exception e) {
                          tvError.setText("Generic Error found: " + e);
                      }
              }

         });
       }

       ImageButton btnStop = (ImageButton) findViewById
( R.id.btnStop);
       if( btnStop != null ){
           btnStop.setOnClickListener( new OnClickListener(){
              public void onClick( View viewParam ) {
                  try{
                          recorder.stop();
                          recorder.reset();   // You can reuse the object by
going back to setAudioSource() step
                          recorder.release(); // Now the object cannot be
reused
                          tvStatus.setText("Recording stopped");
                      } catch (IllegalStateException e) {
                          tvError.setText("IllegealState Error found: " + e);
                      } catch (Exception e) {
                          tvError.setText("Generic Error found: " + e);
                      }

              }
         });
       }


--~--~---------~--~----~------------~-------~--~----~

2. How to show the position in a MapView in SDK 1.

Hi.

How I can show the position (with the little circle) in a MapView in
SDK 1?

There is a function similar to toggleShowMyLocation?. I need to use an
overlay for this?

Thanks.
--~--~---------~--~----~------------~-------~--~----~

3. shared preferences between applications

4. Problem with Service Permission

5. Camera on SDK 1.0

6. Maximize size for Dialog themed activity?

7. Music Player Glitches