Android Project Catalog

Source: Internet
Author: User

1.SRC Catalog

Java resource files are stored in this directory, and many different package types are often created to hold Java code, meaning that the SRC directory within the normal project is exactly the same. Separate storage makes the project structure clear, both early development and facilitate later maintenance.

2.gen Catalog

Save the Auto-generated R.java file located under the Android Project package. Any resources added to the project will generate a corresponding resource ID, which should not be modified manually.

3.Android Catalog

The numbers that follow indicate the version number of the Android project's operating environment.

4.assets Catalog

This directory primarily contains files packaged with the program , which can be dynamically read when the program is running. In addition, if the project uses the WebView load local page, all the pages related files are also stored in this directory, such as. html files.

5.bin Catalog

Store automatically generated binaries, resource packaging files, and APK packages (. apk files) generated after project execution

6.res Catalog

All the images, layouts, and string resources used in the project are stored in this directory, and the contents of the R.java file in the Gen directory are automatically generated according to the files in this directory.

· All drawable folders are used to store images.

· The layout folder is used to store layouts files.

· The menu folder is used to store the menus file.

· The values folder is used to hold strings.

7. Other documents

①androidmanifest.xml, the entire Android project configuration file, all four components defined in the program need to be registered in this file. You can also add permission declarations to your application in this file, or you can reassign the minimum and target versions of the program that you specified when you created the project.

②project.properties, a line of code that specifies the version of the SDK to use when compiling the program.

③ic-luncher-web.png, this is for the Google Play market to use the display icon, it needs to be 512x512 high-resolution icon.

④proguard-project.txt, the code used to protect the Android project is confusing. Official documents in: Http://developer.android.com/tools/help/proguard.html.

8.libs folder (not highlighted in the figure)

If you use a third-party jar package in your project, you will need to place the jar packages under the Libs folder, and the jar packages placed in the directory will be automatically added to the build path. The jar packages in the directory structure of Android, Android Private Libraies, Android dependencies libraries have been added to the build path .

Android Project Catalog

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.