For Android development, you need to configure environment variables whether you are using Eclipse or using Android Studio. The process of configuring environment variables, some people may be based on Baidu experience a configuration on OK. But for me, it was a lot of time. At first, according to Baidu experience to configure the variable, open cmd, input javac, display is not internal or external command, this time I repeatedly checked the environment variables, I think there is no problem ah (self feeling very good). And then kept typing different keywords Baidu, and asked other students, a long while found a problem, my JRE folder is missing-_-. (The JRE folder here is not the one you see under the JDK). So after another JRE, put him in a folder with the JDK. I think this is the head of the row. Yet--cmd is very kind to remind me that Javac is not an internal or external command. I'm falling apart. Again carefully check, send classmates help to see when, unexpectedly found that in the environment variable configuration path more than a few spaces!!! Remove the extra space, and the javac is finally out. In general, configuration variables must be careful, careful, and careful. Then is the SDK environment to build, I use the Android Studio development, so, the SDK is not so difficult to build, according to the experience of the students, directly in 360 download the installation is done. Then you can create a project and use the real machine to look at Hello world!
According to Baidu's definition: Android is a Linux-based open-source mobile operating system developed by Google. Most of the tools developed by Android in the early days were Eclipse+adt, but Google was still distressed by the son of Android, so Android studio appeared. Android Studio is much more convenient than using eclipse development, at least in my opinion, setting up the environment is a lot easier. There is the interface, directory structure is not the same, in Android Studio, a one-level directory is a running app. At the same time, Android Studio also provides more code templates, which makes it easier to write code. Finally, there is the ability to preview the effect immediately in Android studio, which should make the UI design more convenient.
Development and evolution of the Android platform development Environment