Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3550 or swt-gtk in swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at com.android.sdkmanager.Main.showSdkManagerWindow(Main.java:328)
    at com.android.sdkmanager.Main.doAction(Main.java:316)
    at com.android.sdkmanager.Main.run(Main.java:118)
    at com.android.sdkmanager.Main.main(Main.java:101)
  • What command are you running, exactly? (You can edit your question to provide this information.) – Eliah Kagan Jul 13 '12 at 3:23

Credit to Ubuntu Forums:

sudo mount -o remount,exec /tmp

aptitude search swt-gtk based on the search result, I would presume that installing libswt-gtk-3-java would fix your problem.

If not try the -jni or -gcj version. I believe one of those should fix your stack trace.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.