Today we mainly analyze the folder structure of the project
This is a common folder structure for the entire project, and below I will describe the meaning of each folder represented:
SRC —————-The Main program code is edited under this file
Gen ———— – some R files generated by the system at compile time. For example, some definitions in XML (<string name= "App_name" ></string>) These IDs will be generated here
Assets ———— – for storing external resource files used in applications, programs can read and write files in the directory through I/O streams, and files stored in this directory will be packaged into the release package.
Bin ———— – After the project is finished running, there will be some compiled files temporarily generated by the product with the APK build package.
Libs ———— – This is very familiar and is a third-party jar package.
Res ————-Some of the images and page XML used in the project.
DRAWABLE-HDPI, drawable-mdpi, drawable-xhdpi and other folders to store picture files, depending on the size of the picture there are different locations.
layout-– the XML file that primarily stores pages
Menu ——-The folder at a glance to know that it is the menus, the XML file that we created when we clicked on the menu on the phone
The values ——-store some of the strings that are commonly used in your app.
androidmanifest.xml--System main entry file.
A project is roughly the usual folder, but some folders are hidden and are not created when the project was created, such as raw,drawable.
The introduction of the project today first to sue a mess, what do not understand the welcome in the following message, I will help you solve.
The main structure and detailed explanation of Android project