Android Studio installation and startup failure problems solved

Source: Internet
Author: User

The JDK and Andorid Studio installation packages downloaded from one o'clock AM are always Over

The process in the middle is very simple. I will not elaborate on the problem.

After installation, the double-click program does not reflect any reflection, but only one additional cmd task

This problem should have been encountered by many people. I have been checking it for a long time and it is said that it is a path configuration problem.

It seems that you can only check the cause by yourself.

Now that you need to open the CMD program to run it first, open the installation directory.

The first check must be the bin directory. As a result, there are multiple bat files in it. Which one is like?

After the visual inspection, I think studio. bat should be very suspected, which involves coding habits ~

I think the encoding and typographical habits should look like this. It was really hit by me.

Open studio. bat. There are a lot of things, so run it first.

Double-click it and an error message is displayed.

After careful analysis, this sentence is written in bat. It is obvious that the sentence GOTO error is redirected to the past, so debug it ~

The debugging process is not detailed. At last, we found that there were spaces in the environment variable path!

It is much easier to solve the problem ~

My solution:

If there are spaces in the JDK and JRE installation directories, such as C: \ Program Files \ Java \ jdk1.7.0 _ 15, where Program Files contains spaces, we recommend that you uninstall JDK and JRE, although there are some ways to solve the problem of Space inclusion in the path after Reinstallation, it is still troublesome to do so. For the sake of simplicity, reinstall it directly.) modify the installation path during the reinstallation process, make sure there are no spaces in the path.

Well, the beautiful Andorid Studio is under my feet!

Just put it bluntly ~~ The first program must be dedicated to Hello World. Otherwise, how can it be up to the right of the family !)

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.