Android Project Structure

Source: Internet
Author: User

recently said to get started Android project So I read some information. After you create a new project. See the project structure really a lot of things ah, a little bit of a circle, take everyone to understand.

Overall structure

Next Step-by-step introduction:

( 1 ) src : Java Source storage folder, Java the code file is stored in this.

(2)Gen:self-generated folders, store all theAndroidThe development tool generates files on its own initiative. The most important thing in the folder isR.javafile. This file is created byAndroidThe development tools are self-generated. AndroidThe development tool will take your own initiative to putResfolder Resources, synchronization update changesR.javafile.

( 3 ) Res : Resource folder, in which we can store the various resources that the app uses.

(4)Assets: Resource folder. Androidin addition to providingResfolder is stored outside the resource file. In theAssetsfolders can also hold resource files, andAssetsthe resource files under the folder are notR.javaBuild Your own initiativeID.

( 5 ) project.properties : It is pointed out that the program is Android which version number.

( 6 ) Androidmanifest.xml : A project manifest file that lists the functions that the program has.

Here is only a preliminary understanding, later in the application can be more in-depth understanding, the next there will be a series of articles to show to you.

Android Project Structure

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.