Directory structure for Android projects

Source: Internet
Author: User

The directory structure of the newly created Android project is as follows:


Next, you sort out the meanings of each file directory:

|----SRC: Store The source code of the project
|
|----Gen: Store automatically generated files.
| |
| |----R.java: The ID of the corresponding resource stored in the Res folder
|
|
|----Android 4.4.2: This is a Java archive that contains all the Android SDK libraries (such as views, Controls) and APIs required to build the application
|
|----Assets: The media files needed to place some programs, such as MP3, video files
|
|----Bin: The compilation Directory of the project. Store some temporary files generated at compile time and the. apk file for the current project.
|
|----LIBS: The jar package that the current project relies on.
|
|----Res (RESOURCES): Resource file.
| |
| |----drawable-?dpi: The icon file used to store the program (*.png, *.jpg).
| |
| |----Layout: Store the android layouts file.
| |
| |----Menu: Stores the layout of the Android Optionsmenu menus.
| |
| |----values (the data required by the application. IDs are generated in the R file)
|    | |
|    | |----Dimens.xml the size used to store the screen fit.
|    | |
|    | |----Strings.xml to store Android strings.
|    | |
|    | |----Style.xml Store the styles displayed under Android.
| |
| |
| |----VALUES-V11 Specifies the style displayed for phones with more than 3.0 versions.
| |
| |----VALUES-V14 Specifies the style displayed for phones with more than 4.0 versions.
| |
| |----The value of the VALUES-SW820DP plate
|
|----The portal file for the AndroidManifest.xml:android application, which declares the components and related configuration information inside Android.
|
|----Proguard-project.txt: Encryption is used by the current program.
|
|----Project.Properties: Specifies the version of the development kit used by the current project


Directory structure for Android projects

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.