Fix Eclipse colours in ubuntu 12.04

After updating to ubuntu 12.04 the colours of the eclipse code completion and the package explorer make the text hardly readable. Inactive elements have a light grey background colour with light text colour.

Eclipse colors in ubuntu 12.04

Eclipse colours in ubuntu 12.04

A workaround is to unset “Use mixed fonts and colours for labels” in the Preferences.

Eclipse Colour workaround ubuntu 12.04

Eclipse colour workaround ubuntu 12.04

After that the colours are as shown by the following screenshot.

Eclipse colours after editing preferences

Eclipse colours after editing preferences

Happy developing!

How-to make the android sdk work in ubuntu 12.04 amd64

Since the package ia32-libs isn’t available any more in ubuntu 12.04 – Precise Pangolin, executing adb will lead to an error like adb: cannot execute binary file or adb: No such file or directory (adb: Datei oder Verzeichnis nicht gefunden in German). Also the Eclipse plugin shows an error like Failed to get the adb version. Starting an AVD fails with SDL init failure, reason is: No available video device

To solve these problems you have to install the i386 version of the required libraries by executing the following command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386 libsdl1.2debian:i386