Android Development

Ubuntu 9.10 with Eclipse and ADT – Problems

by Martin on Oct.26, 2009, under how to

Sometimes I am a bit over motivated. Thats the reason I upgraded my Ubuntu to 9.10 RC1 yesterday.
Nearly everything worked fine and after 90 minutes downloading and installing Ubuntu 9.10 booted the first time.
The disillusion followed today: What happened with my Eclipse installation?
The LogCat view has no logging type buttons, the Devices view has lost its button for stopping processes and some windows don’t accept a mouse click on their buttons (mostly the OK button). I have to press Enter to get them work.

After a short search I found this bug report for ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/442078

A workaround is also mentioned there:

Create a launch script for eclipse with the following code:

#!/bin/sh
GDK_NATIVE_WINDOWS=1 /path/to/eclipse

I am not sure if Ubuntu is responsible or Eclipse, but after using this launch script, everything worked fine.

  • Share/Bookmark
:, , , ,

4 Comments for this entry

  • Kubeczek

    I have very frustrating problem with ubuntu 9.10 and android. I can’t test programs direct on the phone becouse adb don’t see my device. It see device witch name is ‘???????’. In the previous version of ubuntu I need to modify one of the config files in the system… But I can’t find enywhere modify I need to do in 9.10. Did you have some problem with this? Or maybe you update just update your system from the 9.04 and it works? (I made new clean installation).
    Thanks for your blog!

  • Martin

    I never got it to work, that the ADB see my device when I plug it in. I always have to kill and restart the ADB server.

    I use this short script (linked in my task bar):

    1
    2
    3
    4
    
    #!/bin/sh
    /path/to/sdk/tools/adb kill-server
    nohup /path/to/sdk/tools/adb start-server
    /path/to/sdk/tools/adb devices
  • Tom

    Thanks for this post,

    Sorted the issue for me and i really thought i would be the only one with it!

Leave a Reply