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 4625 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

Android “L” developer preview gets ported to HTC One (M7)

Other than the official Android “L” Developer Preview which is available for LG Nexus 5 and Asus Nexus 7 (2013) devices by Google, we’ve seen it ported to the Nexus

News and Rumors

Wirefly Taking Pre-Orders for $149.99 Epic 4G Touch

Looking to get your hands on the Galaxy S II series Epic 4G Touch from Sprint?  We can’t blame you, that thing is a beast.  The phone goes on sale

News and Rumors

Google gives original Glass Explorers chance to swap hardware

When Google revealed it had a new version of Glass, refined by months of feedback and use by Explorers, it also announced the first set of Explorers would have the


  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