adb version

by kwty » Sun, 12 Apr 2009 04:57:38 GMT


Sponsored Links
 hi
i am using sdk 1.1 - mac os but i have a source code compatible only
with sdk m5-rc15 and when i want to install it on the eclipse there is
a msg said (Required minimum version of adb: 1.0.20.Current version is
1.0.18) so what i have to do???

thanks
--~--~---------~--~----~------------~-------~--~----~



adb version

by Ralf » Sun, 12 Apr 2009 10:14:58 GMT


 It means you have adb from the sdk 1.1 running in the background --
adb is also a background process. You need to kill the existing adb
before switching to the m5 one by doing one of the following:
- either reboot your mac
- run "adb kill-server" from a terminal
- eclipse > ddms perspective > devices view > menu > reset adb.

Or you could just adapt your source to the sdk 1.1

R/




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


Sponsored Links


Other Threads

1. Dialog containing a ListView with ContextMenuListener

Setting the activity content view directly to a ListView, the code
below works as expected. However, if you change the code (by
uncommenting the dialog lines, and commenting the setContentView
line), the context menu no longer works.

public class AndroidTest extends Activity {
        protected static final int ENTRY_ADD = Menu.FIRST;
        protected static final int ENTRY_REMOVE = Menu.FIRST + 1;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setTheme(android.R.style.Theme_Dialog);
        ListView lv = new ListView(this);
        ArrayAdapter<CharSequence> adapter =
ArrayAdapter.createFromResource(
                this, R.array.test,
android.R.layout.simple_list_item_1);
        lv.setAdapter(adapter);
        lv.setCacheColorHint(0);
        lv.setOnCreateContextMenuListener(new OnCreateContextMenuListener
() {
                        public void onCreateContextMenu(ContextMenu menu, View 
v,
                                        ContextMenuInfo menuInfo) {
                                menu.add(0, ENTRY_ADD, 1, "Add");
                                menu.add(0, ENTRY_REMOVE , 2,"Remove");
                        }});
        //Dialog d = new Dialog(this);
        //d.setContentView(lv);
        //d.show();
        setContentView(lv);
    }

        @Override
        public boolean onContextItemSelected(MenuItem item) {
                AdapterView.AdapterContextMenuInfo info =
(AdapterView.AdapterContextMenuInfo) item.getMenuInfo();
                Log.d("Test", "Selected item " + info.position);
                switch(item.getItemId()) {
                case ENTRY_ADD:
                        Log.d("Test", "Add was clicked");
                        break;
                case ENTRY_REMOVE:
                        Log.d("Test", "Remove was clicked");
                        break;
                default:
                        return super.onContextItemSelected(item);
                }
                return true;
        }

}


My workaround may be using an activity composed of only a listview,
with the dialog theme - which should work fine. But that seems like
some additional work for something that should work as described above.
--~--~---------~--~----~------------~-------~--~----~

2. Upating a section of surface created by surface flinger

Hi,

Is there a way to update only a part of the surface created by surface
flinger? I want to update only a section of the framebuffer (i have
the framebuffer co-ordinates for that area). How do i register my
buffer with the surface flinger in this case, can i pass an offset to
the surface flinger?

Thanks,
pg
--~--~---------~--~----~------------~-------~--~----~

3. How to query the number of rows in a table

4. How to support Hardware Overlay ?

5. When will the Market comment system change?

6. How to get verbose build output

7. Debugging C++ Applications