DDMS under Mac OS X 10.5 (Snow Leopoard)

by Joel » Mon, 31 Aug 2009 01:40:35 GMT


Sponsored Links
 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.

--~--~---------~--~----~------------~-------~--~----~



DDMS under Mac OS X 10.5 (Snow Leopoard)

by Joel Fischer » Mon, 31 Aug 2009 01:40:54 GMT


 Sorry, the subject line should have stated Mac OS X 10.6, of course.


Under snow leopard I get an error running ddms:

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


DDMS under Mac OS X 10.5 (Snow Leopoard)

by Xavier Ducrohet » Mon, 31 Aug 2009 01:48:26 GMT


 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






-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~---------~--~----~------------~-------~--~----~



DDMS under Mac OS X 10.5 (Snow Leopoard)

by foo » Tue, 01 Sep 2009 08:07:12 GMT


 Just in case that didn't work for anyone, for qmodify ddms (TextEdit
works) and add '-d32' to the Java options to force the Java VM to 32
bit by modifying this code:

# Mac OS X needs an additional arg, or you get an "illegal thread"
complaint.
if [ `uname` = "Darwin" ]; then
    os_opts="-XstartOnFirstThread"

to this:

# Mac OS X needs an additional arg, or you get an "illegal thread"
complaint.
if [ `uname` = "Darwin" ]; then
    os_opts="-XstartOnFirstThread -d32"


FOO






--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. New Project: Craigs List for Cell Phones, with Cell Phone Features

Craigs List for Cell Phones, with Cell Phone Features

Craigs List is a free advertising service for the public. You can post
whatever you want to sell, and buy virtually anything you want. Even
in your local neighborhood.

http://www.craigslist.org/about/sites.html

Cell phones can be utilized to provide young people with business
opportunities. Craigs List style listings can be generated on cell
phones with a search option based upon cell phone GPS location.

So people that want their car washed, grass cut, laundry done,
babysitting, shovel snow, garden tended, ... can list their needs on
the cell phone program and young people can match up to them based
upon how close they live to the GPS location. For example a search
radius of one mile allows a young person to choose work to do up to
one mile from their current GPS location.

Coorespondingly, young people can be rated by employers so that
clients can evaluate each young person applying for work, and choose
the most qualified.  The employer would pay a nickel to the software
developer each time a prospective young person is contacted for
employment.

Also, many other business opportuities for young people can be
generated through cell phone enterprise. For instance developing
parties, sporting events, study groups, ... it might be nice to have a
couple of boats available at a skiing party, but their current circle
of friends only has one.

The same system can be upgraded to create transportation resources so
young people can get around without a car:

Pay Your Way Hitch-hiking
http://blog.360.yahoo.com/jamesbdunn?p=239


--~--~---------~--~----~------------~-------~--~----~

2. Dear Friends, Are you interested to make Rs.20,000 to Rs.1,20,000 A Day ? This is not a get rich quick scheme. This is a legal opportunity to make good money when you do it part

Dear Friends, Are you interested to make Rs.20,000 to Rs.1,20,000 A
Day ? This is not a get rich quick scheme. This is a legal opportunity
to make good money when you do it part time. This opportunity is a
proven way to make Rs.20,000 to Rs.1,20,000 A Day . There are already
3,00,000 people around the world grabbed this opportunity and making
tons of money every month. If you are interested to know more about
this opportunity, visit

join him
**************************************************************
http://jewishfriendfinder.com/go/g959952-pmem
http://friendfinder.com/go/g959952-pmem
*************************************************************
--~--~---------~--~----~------------~-------~--~----~

3. Menu items

4. displaying records in sorted order...

5. aapt sources

6. onTouchEvent triggered three times when I click on the screen only once

7. onTouchEvent triggered three times when I click on the screen only once