Android Studio and Android Studio
Since I already had downloads and experiences when android studio was launched, the studio interface was relatively simple and there were no intensive features in versions 1.3 or 1.2, however, it is quite novel to use studio. Because it takes some time to configure a project and a high degree of networking, I will not be able to access it any more soon until the release of version 1.3, A lot of stability, I began to give up Eclipse, and then switched to studio.
Download studio, install it according to the installation prompt, and create a new project. The system prompts you to update the ADT, and then updates the ADT. After the ADT is updated, it is created successfully. Run later. If the sdk build_tools version is too low, open SDK -- Mananger to update it. It is best to update the following content:
If the connection fails, you can set the image address mirrors.neusoft.edu.cn.
The updated content includes:
After the SDK is updated, it takes almost one day to Run or fail. If the project fails to be built, you need to build it and then download the gradle library, wait until the download is complete.
After the build is successful, the system prompts build successful.
Run. After the interface is successfully displayed, the basic configuration is OK.
Note: Android studio must run on java 1.7. If the sub-host is 1.6, you must upgrade jdk.
Create a new project. How can I import a project?
Next, get a project on git and import the entire folder, including libaray, to studio. Then you will find all kinds of errors.
1. The gradle version is inconsistent.
2. jar download from the dependent repository failed.
3. aapt failed. The tag in xml cannot be found.
4. android_build_tools_version is incorrect.
... Various minor problems
It is estimated that android studio is not very mature, and there are still many bugs and complicated configurations. Especially after gradle is introduced, I personally think it has its own advantages and disadvantages. gradle's powerful script capabilities can better build an android project, but it also brings about a lot of new complicated errors, and the network dependency is strong.
Because of the Directory display, the build process is not so simple and clear, it takes a long time for new users to explore studio and it is not as easy to use as Eclipse. For us, the interface is indeed cool, and the log and retrieval capabilities are very strong. It may be a headache for new users.
So if you haven't started to use studio yet, I suggest you download it now. You are familiar with it, because it may take some time to develop it skillfully.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.