Android SDK Manager crash in win8.1

Source: Internet
Author: User
Tags android sdk manager

The newly installed Windows 8.1 system, Android SDK, and JDK are all the latest versions. However, when the SDK Manager is opened, the command line window does not display the latest version.

After searching, a problem is identified: There is a find_java.batin the SDK directory tools \ lib. the current path is to find the path of jave.exe, but the path output is incorrect. Find_java.bat is called In sdk \ tools \ Android. bat. The online solution is to directly write the absolute path of java in Android. bat without using find_java.bat.

Java_exe = lib \ find_java.bat not defined java_exe goto: EOF

Change

Java_exe = "absolute path of java"

After the modification, the SDK Manager can be enabled, but then another problem occurs. The Ant package error occurs, and draw9patch. bat also returns. It seems that find_java.bat is used in many places.

By checking the Ant error message, C: \ Program is not a legal command, so I realized whether it is a problem with the space in the JDK installation path, my JDK is installed in the C: \ Program Files folder by default.

Therefore, uninstall and reinstall, install it in the C: \ JAVA folder, reconfigure the environment variables, and solve all problems.

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.