Preface : Starting from the university, their own is really contact with the computer, their first computer is a group of about 2500, the components are self-search from Baidu, and then to the electronic city to buy the relevant components, remember that there is no money, are picking cost-effective components, display AOC, motherboard gigabyte, CPU is core Duo, specific model did not remember, Seagate hard disk 320G, power and host box are the boss recommended the cheapest, no video card. Since the first computer, of course, it was more exciting, but it seems like the original purchase when the desire is to take to learn, the result is to take a look at the film, boxing emperor. The second year of college, only to realize that to learn something, the computer is on the wrong path. For computer programming, one of the most frequently seen examples of learning a language is Hello world. Every time hello world, I feel a lot of things to learn, so every time Hello world, is their own programming journey of an adventure, need courage and perseverance, in order to continue to grow.
Create the first Android example: Hello world
1. Open the Eclipse for the development environment in the 1th article and click File->project->android->android Application project to create a new Android project:
Note:
The Target SDK chooses the version of the SDK that you have installed, and if you choose a version that is not installed, it will go wrong.
2. Then the next step, to finish the final point, the project interface appears as follows:
Note:
APPCOMPAT_V7 is a library with a high version that is compatible with the lower version, so it appears that you can not leave it. If you want to kill it, go back to the first step, when you create the project, set the Minimum Required SDK as the target SDK version;
3. Then click on the Hello Project, right click on the run As-->android application, start compiling and install the program on the virtual simulator. Finally, if successful, the following interface appears
4. To this end, has successfully opened the Android development of this door, the back of how, it is necessary to continue to experience the training and learning, in order to break out of the Android development of a world;