Android Note 3--Project file structure description

Source: Internet
Author: User

The following is the Andoid project file structure diagram, the common operation part has been marked with a rectangle box.

Next, each folder or file of our team explains:

1, the core document Androidmanifest.xml,app manifest file, just like we go to the restaurant to enjoy delicious food, the hotel provides us with the same menu.

2, SRC, as the name implies, of course, is to place the source code folder,

Mainactivity represents the activity program, and the activity represents the screen.

3, Gen folder, this is actually a code folder, but here the bread contains R.java (as long as the resource folder corresponding to the location of the resource files, will be automatically recorded in the R.java)

Such as:

    public static final class Drawable {public        static final int ic_launcher=0x7f020000;    }

4. Res folder, resource folder

4.1, res/drawable* folder, General storage pictures and other resource files

4.2, Res/layout storage layout management files, generally as XML files

4.3, res/menu storage menu, usually XML file

4.4, res/values* store custom values, generally also for XML files, such as color, color.xml,strings.xml

5. Libs folder, contains third-party libraries that are dependent on the project, such as JAR,SO (c + +) library files, etc.

6, Assets folder, generally also store static files, but this is not recorded in the R.java

7, Bin folder, do not say, and Java Ordinary project, like the compilation of target folder

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.