This problem appears in fact and Swt.jar this file a little relationship, finally the author through Baidu in http://www.aichengxu.com/view/39361 find a solution.
The contents are reproduced as follows:
Android SDK can not run or report "ANDROID_SWT" error, there is a need for friends to refer to.
After installing the Android SDK, it is usually used in eclise. Once found to run the SDK directly Manager.exe can not open, nor error. The Flash is gone.
Because there is no error message, you have to live with Eclipse Launch SDK Manager.
A few days ago Android Studio In addition to the official version, so pull to try the next, the results just installed, boot configuration and error. This time better, prompted an error message "ANDROID_SWT" is not set.
This error message is very confusing, in fact, with SWT wood what relationship, the online search of those methods do not work. Just follow this information and find that he uses tools\android.bat to handle environment variables.
Then run the bat directly, and sure enough, the same error is reported. This is good to do, looked at his content, found the tools\lib\find_java.bat problem of the line.
"find/i" x86 "> NUL && set arch_ext=32 | | Set arch_ext=64 "
This line means to set arch_ext=32 if it is x86, otherwise it is 64. Used to determine the version of the system.
Unfortunately, this writing has a problem, resulting in the 32 side followed by the space is also set to the variable.
After you remove the space that follows 32, the entire batch runs normally. ------do not know how Google's test is done, unexpectedly missing such a serious problem.
Android SDK Manager cannot start the Swt.jar file is not specified