Android Program Project structure

Source: Internet
Author: User

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

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.