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 !)