How to push the code changes to

by Feng Chris » Fri, 03 Dec 2010 22:50:30 GMT

Sponsored Links
 Hi all,

I try to push my changes to as method described in
But when I do "repo upload", error occurred.

Is anyone know something about this?

Or is anyone can provide a details about how to push the code changes to

bash$repo upload
Upload project cts/:
  branch IKSTABLETWOV-1853_CTS ( 1 commit, Wed Nov 24 17:49:09 2010 +0800):
         ab4b8b7e Test
to (y/n)? y
Traceback (most recent call last):
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line 235, in
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line 217, in
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line 123, in
    cmd.Execute(copts, cargs)
  File "/localrepo/hpqg67/Android/platform/.repo/repo/subcmds/",
line 402, in Execute
    self._SingleBranch(opt, pending[0][1][0], people)
  File "/localrepo/hpqg67/Android/platform/.repo/repo/subcmds/",
line 165, in _SingleBranch
    self._UploadAndReport(opt, [branch], people)
  File "/localrepo/hpqg67/Android/platform/.repo/repo/subcmds/",
line 346, in _UploadAndReport
    branch.UploadForReview(people, auto_topic=opt.auto_topic)
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line 156,
in UploadForReview
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line 584,
in UploadForReview
    if branch.remote.ReviewProtocol == 'ssh':
  File "/localrepo/hpqg67/Android/platform/.repo/repo/", line
505, in ReviewProtocol
    info = urlopen(u).read()
  File "/apps/android/python/lib/python2.4/", line 130, in urlopen
    return, data)
  File "/apps/android/python/lib/python2.4/", line 358, in open
    response = self._open(req, data)
  File "/apps/android/python/lib/python2.4/", line 376, in _open
    '_open', req)
  File "/apps/android/python/lib/python2.4/", line 337, in
    result = func(*args)
  File "/apps/android/python/lib/python2.4/", line 1021, in
    return self.do_open(httplib.HTTPConnection, req)
  File "/apps/android/python/lib/python2.4/", line 996, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (-2, 'Name or service not known')>



Other Threads

1. using the getLine1Number() method

Ok, I'm still new to using java and j2me all together, although I
understand enough to make basic programs and understand what I think
about returning methods. I'm having trouble with the code below, for
now all i want my code to do is pull up the MSISDN "telephone number"
that a mobile device has. Everytime i run the emulator I get an error
that the app has stopped unexpectedly and to try again. I've modified
the helloworld demo a little bit and just trying to get the tn to show
up. please tell me what i've done wrong and can someone also send me
an article about using the android api's please.

package com.general.AntiClep;

import android.os.Bundle;
import android.widget.TextView;
import android.telephony.TelephonyManager;

import android.content.Context;
public class AntiClep extends Activity {
   /** Called when the activity is first created. */
   public void onCreate(Bundle savedInstanceState) {

        String str = null;
       TextView tv = new TextView(this);

   public String sum(){
           TelephonyManager tm = (TelephonyManager)getSystemService

                String result = tm.getLine1Number();

                return result;



2. How Do I Install Market Apps on the Emulator, and other questions about Intents

I like the promise of Android Intents, where I do not have to re-
invent a tool that someone else has already developed.  Practically,
however, I have not been able to use this feature very much.

The first problem I have run into is the lack of a comprehensive list
of intent filters available for each application.  I have seen and,
but this is a very small subset of the over 4000 applications on the
market.  Is there a way to view the manifest for an app I have
downloaded on my phone?

The second problem relates to developing on the emulator.  There seems
to be no way of downloading apps from the market onto the emulator.
For example, I know how to call the "radar" app, since it is listed on, however I cannot run this on the emulator because I
do not have the radar app installed.  So how do I install apps from
the market that I need for development on the emulator?



3. fastboot download too many links

4. android developers challenge II

5. JAVA Coding standards for Android Platform

6. Can't install the latest security update (CRC1)

7. Changing the Price of an App