Re-naming does  not work.
Following error occurs:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load
32-bit SWT libraries on 64-bit JVM
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)


On Sep 17, 2:04 pm, Gil Margolin <gilmargo...@gmail.com> wrote:
> Or a much easier way is just rename the folder "/tools/lib/x86" to "/
> tools/lib/x86_64"
>
> On Sep 16, 10:04 pm, David Horn <pga...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I've been unable to run any of the tools in the Donut SDK, using Snow
> > Leopard - it seems to be due to the 64bit nature of theOS.
>
> > Followed the steps in the upgrade guide, but when it comes to starting
> > any of the tools (android, ddms etc), they refuse to start with the
> > error message:
>
> > "David-Horns-MacBook:tools David$ ./ddms
> > SWT folder '/Users/David/Desktop/Eclipse IDE/android-sdk-
> > mac_x86-1.6_r1/tools/lib/x86_64' does not exist.
> > Please export ANDROID_SWT to point to the folder containing swt.jar
> > for your platform."
>
> > There is no x86-64 folder, but I've come up with a bit of a bodge that
> > works.  Open the file in a handy text editor, and look for the lines:
>
> > # Combine the swtpath and the framework dir path.
> > if [ -d "$swtpath" ]; then
> >     frameworkdir="${swtpath}:${frameworkdir}"
> > else
> >     echo "SWT folder '${swtpath}' does not exist."
> >     echo "Please export ANDROID_SWT to point to the folder containing
> > swt.jar for your platform."
> >     exit 1
> > fi
>
> > Replace them with this, substituting your own path in to the lib
> > folder.
>
> > # Combine the swtpath and the framework dir path.
> >     frameworkdir="/Users/David/Desktop/Eclipse IDE/android-sdk-
> > mac_x86-1.6_r1/tools/lib/x86:${frameworkdir}"
>
> > Hope this helps (not sure if this is a problem unique to me, or
> > whether it's affecting everyone on Snow Leopard).
>
> > Dave.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to