2

i am getting the following error when i run ./android sdk from the android-sdk-linux/tools folder. here is the error:

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:302)
at com.android.sdkmanager.Main.run(Main.java:118)
at com.android.sdkmanager.Main.main(Main.java:101)

i tried reinstalling but no luck. if there is a way removing eclipse, android studio and all the packages i've installed together with them i would be glad to do this and make a clean install; as i also have an error with gradle.

Does anyone know any solution to my problem?

1 Answer 1

2

This is usually caused by removing android studio and then installing it into another folder; just copy the content of your newly installed android studio to the old directory

1
  • What if I didn't do that and it was automatically updated in linux?
    – Chisko
    Commented Mar 14, 2017 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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