"Job One" Android development environment and pre-development preparation

Source: Internet
Author: User

For the Android platform development tools, I know that Eclipse and Android Studio (hereafter referred to as). Prior to learning Java, gradually became accustomed to eclipse, and later to build the Android development environment, it is also intended to continue to use eclipse. Later, some students said that using as to develop Android is very practical, build the environment is much simpler than eclipse. Then to the classmate that tried the next as, feel whether the interface, or functional aspects seem to be very tall on. So decisively chose as.

1.Android Studio Download Installation

Introduction I use as the classmate said, Android development environment to build with as the simplest, fool-type installation, as long as the download down as, install the environment is also set up, than Eclipse and install ADT, and the SDK what is much simpler. It's not so easy to know when you're done with your own hands.

PS: Here to insert a nonsense, write this blog, as has been installed for a short period of time, the original download and install as when there are a lot of problems, but at the beginning did not and put the problems recorded (of course, this is a bad habit), now can only write some of the more profound impression of the problem.

Remember the deepest is as the download, I have a habit, download software like to go to the official website, the original to download as, Baidu has a tutorial, and then follow the tutorial to as the official website to download. Later the page waited for half a day also did not respond, I also foolishly thought is network problem. Now, of course, I know it's because of the extranet. Originally this threshold is really a card for a long time, and then Baidu for a long time, found an Android Chinese community, look at the official appearance, so go here to download.

To tell you the truth, the download here is really good, recommended download as+sdk,http://www.android-studio.org/index.php/download

As the download finishes after the installation, there is a critical step that needs to be downloaded to the SDK Manager to download the Android emulator. Here need FQ, otherwise unable to download, FQ can come here to see: http://zhangge.net/4586.html, I used to be a free bird FQ software, now seems to be unable to use. In fact, if you can, the SDK can directly find someone else to copy, much more convenient. Or do not use the simulator provided by it, you should be able to skip this step.

When the above steps are complete, the Android development environment has been built successfully. Here's how to get started.

2.Android Studio uses

Create a HelloWorld project follow as the wizard to create the project can be completed, mainly to master the various folders in the project and the meaning of the file, which files put resources, which files write code, which file is configured, these are cleared up and then manually create a HelloWorld project, This is a preliminary introduction. This part of the HelloWorld project creation analysis I am going to write down in the form of a study note series. Here's an android start book----The first line of code

The use of as is also spoken here. First of all, to set the CTRL + Scroll wheel can adjust the font size, or the default font is too small.

  

The path is: Settings---->general----The second item of the >mouse and press OK. Then the use of shortcut keys, accustomed to eclipse can be set up here in setting--->keymap.    Recommend a few very commonly used shortcut keys: Shirt+enter ignore the content of the cursor after the direct line, it is practical, save the cursor every time to move to the end of the line and then wrap. crlt+shirt+ The whole word, this can be used when deleting a word, save the mouse. crlt+d Full line copy (this eclipse and as will be different, note that this is the AS). 3. Hippocampus Play Simulator

If you do not want to use the real machine debugging, here is recommended a androi simulator, the hippocampus play. It's much more useful than the emulator that comes with the SDK, and it's fast to react.

: http://droid4x.haimawan.com/?from=000000927

  

PS: Well, first wrote this, no blog experience, are thinking of what to write, if there is any important point to think back, and then to add.

  

"Job One" Android development environment and pre-development preparation

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.