-
src/
-
Where the source code is stored.
-
bin/
-
The compiled output directory. Here you can find the. apk files and other compiled resources.
-
gen/
-
Contains the R.java file, this file is automatically generated by ADT, please do not modify it arbitrarily
-
assets/
-
You can put the original asset file here. For example, some documents will keep the original file name compiled into the. apk file, and you can also use the file system URL mechanism to read the file, such as using theAssetManager类来读取一个字节流。
-
res/
-
Contains the application's resources, such as the drawable file, the layout file, and the string value.
-
anim/
-
Here you can put the animated XML file
-
color/
-
Here you can put the color XML file
-
drawable/
-
Here you can put bitmaps (png,jpeg,gif) and 9-patch picture files, and you can also place XML files to describe the various state transitions of drawable shapes and drawable objects.
-
layout/
-
Here you can put the layout XML file
-
menu/
-
Here you can put the XML file that defines the menu
-
raw/
-
Here and assets/ almost all are put into the original asset file. But the way of access is assets/ different. This must be referenced in the R file, for example, if you need to put a Bg.ogg audio file here, call r.id.bg. In general, this is where multimedia files are placed.
-
values/
-
Here you can put in many kinds of XML files. is different from other res/目录下的 resources. The XML file under this folder cannot be referenced directly by the file name. However, the nodes in the XML file can control the name of the R file definition.
-
xml/
-
Some other XML files used to configure the app components.
-
libs/
-
Contains some library files that are similar to others.
-
AndroidManifest.xml
-
A control file that describes the nature of the app and each of its components. For example: Requirements API levels, describes the four components of the characteristics, permissions and so on. (That is, the manifest file).
-
project.properties
-
This file contains the settings for the project, such as compiling target. He belongs to a part of the project.
If you use some project management tools, such as ant, you might also include the following:
-
ant.properties
-
Build the system's custom properties. Ant, a tool that links software compilation, testing, deployment, and other steps together to automate software development in Java environments. Provided by the Apache Software Foundation. For example, ant file building is the directory structure that we often know about Src,lib,class, which is the directory structure of Eclipse. If you use Eclipse, this file will not be used.
-
build.xml
build an ant file for your project. Only works with projects 。 built for Ant
Directory structure of the Android project in Eclipse