Android SDK Manager cannot start the Swt.jar file is not specified

Source: Internet
Author: User
Tags android sdk manager

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.