The SWT library uses a native component that must be loaded by the VM. At this time we only provide the 32bit version. I'm guessing that in Snow Leopard the default VM is now 64 bit instead of 32 bit.
To change this go in Applications folder, then Utilities, and launch the "Java Preferences" app. You'll be able to set a 32 bit VM as the default one. Eclipse 3.5 added support for 64bit SWT on MacOS, so we'll migrate to this to support 32/64 bit on MacOS. Xav On Sun, Aug 30, 2009 at 7:13 AM, Joel<[email protected]> wrote: > > Under snow leopard I get an error running ddms: > > 11:17 E/ddms: shutting down due to uncaught exception > 11:17 E/ddms: java.lang.UnsatisfiedLinkError: <ANDROID_HOME>/tools/lib/ > libswt-pi-carbon-3236.jnilib: no suitable image found. Did find: > <ANDROID_HOME>/tools/lib/libswt-pi-carbon-3236.jnilib: no matching > architecture in universal wrapper > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1878) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1771) > at java.lang.Runtime.loadLibrary0(Runtime.java:823) > at java.lang.System.loadLibrary(System.java:1045) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) > at org.eclipse.swt.internal.carbon.OS.<clinit>(OS.java:20) > at org.eclipse.swt.widgets.Display.createDisplay(Display.java:943) > at org.eclipse.swt.widgets.Display.create(Display.java:923) > at org.eclipse.swt.graphics.Device.<init>(Device.java:118) > at org.eclipse.swt.widgets.Display.<init>(Display.java:754) > at org.eclipse.swt.widgets.Display.<init>(Display.java:745) > at com.android.ddms.UIThread.runUI(UIThread.java:330) > at com.android.ddms.Main.main(Main.java:97) > > Any fixes for this availabe yet? > > Thanks. > > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

