Confirmed users
908
edits
(→Install Android SDK: version 23 seems to be required now) |
(→Install Android SDK: error with noexec /tmp) |
||
| Line 123: | Line 123: | ||
./adt-bundle-linux/sdk/tools/android | ./adt-bundle-linux/sdk/tools/android | ||
If you get an error like this while trying to run the Android SDK Manager: | |||
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 | |||
then make sure your <tt>/tmp</tt> directory is executable: | |||
sudo mount -o remount,exec /tmp | |||
You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME/opt, you could add the following line to the end of your .bashrc: | You will probably want to add the SDK's "tools", "build-tools", and "platform-tools" directories to the PATH environment variable in your shell, so that you can run [http://developer.android.com/guide/developing/tools/adb.html adb] and other tools easily. For example, if you installed the SDK in $HOME/opt, you could add the following line to the end of your .bashrc: | ||