Android Studio error solving

Source: Internet
Author: User

Android Studio error solving

Shortly after arriving at the company, the company called me to use the Android studio software. Previously, I used eclipse ADT. The new terms I suddenly came into contact with made me a little uncomfortable. Well, since it is the company's requirement, there must be some truth about it. I downloaded its installation package from the Internet. After I click it, I have been downloading something through the link, after an estimated half an hour, I finally entered the start interface. I thought I could write code happily and created a new project (I don't know what moudle is, based on the previous eclipse experience, I created a new project. After the new project is created, it is a little difficult to look at the composition structure. Although it is similar in general, there are some more names: gradle file, double-click to open it. I accidentally stepped back and re-boarded the project. The problem is that I have been stuck in the window of bulid hello project and have never understood it?

I finally found out that the gradle package has not been downloaded, and its background has been online to download this item. Due to network restrictions, it cannot be downloaded, and it remains stuck everywhere, ask the manager to download the corresponding gradle version and put it on drive C /. in gradle/, the project can be created after restart.


To be honest, Android Studio is really better than eclipse by at least two times. First, it is faster: The software opens much faster, the simulator opens for at least 10 seconds, and the running project time is also improved a lot.

Interface display: eclipse's overall style is ugly, while android Studio provides 3 styles by default, allowing some programmers in Virgo to find the feeling and some resource files, such as color. xml will display the color on the left side of the editor. This is very important. Many times you see hexadecimal numbers, and the ghost knows the color, in addition, the thumbnail of the referenced image is displayed on the left side of the layout file, which makes the programmer no longer confused about what the referenced image looks like, saving a lot of time. The third is the most important feature: In the code prompt section, eclipse rarely finds the reference or string text location in the xml file, android studio provides a good solution for code reference search and code prompts. You do not need to use any shortcut keys to find the definition of classes or variables. I think the best thing to use is to perform fuzzy search for any field, file, variable, and method globally. ctrl + shift + f. I love it very much, it saves me too much time.

However, I think it is similar to eclipse for the features of android studio while developing and viewing the results, but it is more convenient and the display result is closer to the real machine.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.