Required files in the Android project

Source: Internet
Author: User

The res directory, src directory, and androidmanifest.xml files are required for Android projects. Other directories and other files are optional.
The Res directory holds various resource files for Android projects, such as layout files, and resource files in various XML formats under the values directory, such as string resource files: string.xml; color resource files: colors.xml; Size resource file: Dimens.xml.
The SRC directory is just a normal directory where Java source files are saved.
The Androidmanifest.xml file is a system manifest file for Android projects that controls the overall properties of the Android app's name, icon, access rights, and so on.
Bin: This directory is used to store the generated target files, such as Java binaries, resource packaging files (. AP_ suffixes), executable files (. dex suffixes) of the Dalvik virtual machine, and so on.
Gen: This directory is used to save an R.java manifest file that is automatically generated by Android.

The androidmanifest.xml manifest file can usually protect the following information:
The package name of the application, which will be the unique identity of the app.
The components that the application contains, such as activity, Service, Broadcastreceiver, ContentProvider, and so on.
The minimum version that is compatible with the application.
The application uses the permission declarations required by the system.
The permission declarations that are required by other programs to access the program.

Required files in the Android project

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.