Recently I lost my way in configuring the Android environment for a long time, the main problem is that when creating an AVD, the following issues occur:
Panic:could NOT open * * *
Possible causes
- 1
Reason one: Because we are using absolute path positioning, that is, the environment variable inside the path to write dead, so the installation is different, the path can not be read.
Workaround: ① Create the variable name in the environment variable: android_sdk_home, Variable Value: The path you had when you installed the SDK, such as 1
For example a bar friend installed in the F-disk, 2, that his fill 3.
② Modify the system variable path, add%android_sdk_home%/tools in front; (this includes the following;)
4. This will solve the problem. This is one of the first reasons to consider.
- 2
Cause two: During the installation of the other Android simulator, the environment variable changed.
Workaround: Change the environment variable to the one we set earlier.
- 3
Reason three: The installation path has Chinese or the space, does not have to change to English, mainly not Chinese on the line, the number and so on can be. Here to note, there is another possibility is the first step in the cause of the copy, 3, if more space, is not open, re-open the startup, will prompt to find the path.
So there is no Chinese in the path, there is no space.
- 4
Reason four: Actually this reason and the reason three is similar, is the user to create own user name is Chinese, installs the SDK when, chooses, only for oneself (for me).
Workaround: Modify the user name or change it to be for all users. It is recommended that you modify it for all users.
- 5
Reason five: residual android emulator files in your computer, such as the. Android folder.
Workaround: Search This folder and delete the extra.