Android studio was released around the 15th, which made the programmers very happy. I also downloaded it and installed it immediately. Many difficulties were encountered during this period. The summary is as follows:
1. Unable to run.
The tragedy is that XP cannot be run in my house. Later I read other people's articles (I'm glad that someone has written my thoughts so soon) to find out the reason, but the main reason is:
You need to add the android_home variable. It indicates that you only need java_home, but you can add this android_home variable.
2. Unable to display Chinese Characters
File> Settings> appearance, change the default font to simsun, and restart the software.
Iii. Unable to download gradle due to intranet running
Because it is running on the Intranet, it is impossible to download gradle over the Internet.
I finally solved the problem, but I don't know which step is the key. Write it down first. Let's try it.
1. Download gradle from the gradle website. Note: Download gradle-1.6-all.zip(do not use gradle-1.6-bin.zip) and configure gradle_home and path (pointing to % gradle_home/bin ).
Some websites have said that this is okay, but in fact, when I was creating an instance, the error fetch model of Type ideaproject using gradle *** was returned. As I did not know, we downloaded bin.zipand downloaded all.zip. (Other actions are performed during this period, which is not necessarily the key reason ).
2. I copied the projects on the Internet machine, including folders:. gradle and. Android, and then imported the test project.
The actual running condition is that the system has been importing but fails.
Later, I closed this guide and wrote down gradle-1.6-all.zip, then covered the original folder, and then restarted the software. I don't know why.
In the future, I installed three computers in Android studio and installed them four times. We will also remind you of this record.