Archive for category Eclipse
Fixing Speaker Buzz and Emulator Crash
Posted by Simon Judge, Freelance Mobile Developer in Coding, Eclipse, Getting Started, How to, My Freeware, Tools on February 22nd, 2010
Unfortunately, the Android emulator doesn’t always work well with desktop sound. This can cause the desktop speakers to start buzzing just after boot. The emulator also crashes and it’s not possible to close it.
The solution is to turn off sound support in the emulator. You can do this by adding -noaudio to the emulator command line. Open Run Configurations and select the Target tab. Add -noaudio to the ‘Additional Emulator Command Line Options’…
Obviously, you won’t be able to hear or test sound if you use this option.
Fixing XML isBlockSelectionModeEnabled Problem
Posted by Simon Judge, Freelance Mobile Developer in Coding, Eclipse on February 18th, 2010
I have been upgrading my Android dev environment so that I can work with the new 2.1 SDK. At the same time I thought I would update Eclipse. Unfortunately, this caused an isBlockSelectionModeEnabled error whenever I tried to edit an XML file.
It turns out that WST XML 3.1 can’t be used to edit Android XML files. The solution is to use ‘Revert Configuration’ back to WST XML 3.04. If you have just installed Eclipse then you won’t have anything to to revert back to so I suggest to try an earlier version of Eclipse.

