1. The project package is divided into src , gen assets Span style= "font-family: the song Body;" >, bin , libs res Span style= "font-family: the song Body;" >, androidmanifest.xml ic_launcher-web.png , proguard-project.txt , project.properties
2. Meanings
SRC- Storing source files
Gen-Stores the packages generated by the development tools, which have a R.java, which store various resource IDs
Assets-Resource file directory, resources in this directory do not Generate resource IDin R.java, Access requires file path
Bin- compiled intermediate code information, i.e. . Class, which will eventually be merged into Dex
Libs-android Library
Res- stores resource files, adds new resources, and automatically generates new constants and assigns resource IDs in R.java
DRAWABLE-HDPI- High resolution first read directory
DRAWABLE-MDPI- medium resolution first read directory
DRAWABLE-LDPI- Low resolution first read Directory
Drawable- The directory resource file is read at any resolution after this directory is created
Layout- Interface layouts directory, adding new resources will automatically generate new constants and assign resource IDs in R.java
Alues- Directory of documents such as language, color, size, etc.
Androidmanifest.xml- Program list, recording software functions and information
Ic_launcher-web.png- Useless
Proguard-project.txt- Useless
Project.Properties-Android version of the project
3.Src
4.Gen
API class library in 5.SDK
6.Android Dependencies (Private Lib Proprietary Library )
7.Androidmanifes.xml
Using XML code to implement resource functions, we can also notify other UI to set
Android Program Project structure