adb version

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

Sponsored Links
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???


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



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;

    public void onCreate(Bundle savedInstanceState) {
        ListView lv = new ListView(this);
        ArrayAdapter<CharSequence> adapter =
                this, R.array.test,
        lv.setOnCreateContextMenuListener(new OnCreateContextMenuListener
() {
                        public void onCreateContextMenu(ContextMenu menu, View 
                                        ContextMenuInfo menuInfo) {
                                menu.add(0, ENTRY_ADD, 1, "Add");
                                menu.add(0, ENTRY_REMOVE , 2,"Remove");
        //Dialog d = new Dialog(this);

        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");
                case ENTRY_REMOVE:
                        Log.d("Test", "Remove was clicked");
                        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


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?


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