How to Fix the Android SDK Debug Monitor in OS X Snow Leopard

android_sdk_osx2The Android SDK is probably my favorite tool to come out of the Android OS so far. I use it for everything- installing apps, emulator tests, moving files- I even use the Dalvik Device Monitor (ddms) to take screenshots and terminate apps. But when I upgraded to Snow Leopard earlier this month, I realized that the SDK tools weren’t working like they were before. As a matter of fact, they weren’t working at all.

If you open up any of the SDK tools in OS X 10.6, you’ll notice that they just output error logs and then quit. Luckily, there’s a fix for it that doesn’t involve going back to 10.5. If you open up Utilities in your Applications folder, you’ll see an app called Java Preferences. If you open that up, you’ll see a Java Applications section. If you drag the 32-bit preference to the top, the ddms should be up and running again. However, if not, you’ll have to open up the terminal file in TextEdit, or Textmate, or whatever word processor you choose, and find the following line;

if [ `uname` = “Darwin” ]; then

Change that line to;

if [ `uname` = “Darwin” ]; then
os_opts=”-XstartOnFirstThread -d32″

And ddms should work again. Now that Snow Leopard has moved to native 64-bit support, applications with 32-bit frameworks have to be modified for it’s new architecture. I won’t bore you with the technical jargon, though.

About author

AndroidGuys 4641 posts

Founded on November 5, 2007, we've enjoyed bringing you the latest in Android news and rumors. Updated daily, we strive to deliver reviews, opinions, and updates on all things related to Android.

You might also like

News and Rumors

Developer Support for Sony’s Live View Growing!

In a world of amazingly powerful superphones that run my life, it seems that while some are pushing for the biggest screen possible, the best possible resolution so they can

News and Rumors

Motorola Camera update lets Android Wear function as shutter

For those with a Motorola smartphone and an Android Wear device, we have some good news. Yesterday Motorola updated their Motorla camera app to allow “Remote shutter control for Android

News and Rumors

On Heroes and the Like

My name is Kyle Pozan and this is a little bit about me.  You can find my first review/opinion piece entitled “Sprint HTC Hero Review: HTC Sense is the Icing


  1. Benny
    August 27, 19:28 Reply

    And this will do the trick then? Thanks for sharing, I thought there is something wrong with my computer.

  2. Helen
    September 22, 20:17 Reply

    Wow, nice tip. Thanks for sharing, I am sure my friend who is a Mac user would love this.

Leave a Reply