"Android Learning Summary" of the Eclipse Engineering directory structure description and use

Source: Internet
Author: User

"The article in this blog is my study note summary, if there are errors please criticize correct, thank you!" 】

The Android project directory structure created through Eclipse is as follows:

650) this.width=650; "Src=" http://img.blog.csdn.net/20151010162439224?watermark/2/text/ Ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/southeast "style= "Border:none;"/>

The directory structure consists of the following 8 components:

1, source directory src: This directory is mainly used to store Java source code

2. Gen Directory: The R.java in this directory is generated automatically by the compiler and we do not need to intervene. All resources in the Res directory in the project must be registered in the file by ID.

3, Assets directory: Mainly used to store files packaged in the APK, such as: you need to webview to read the local HTML file, you can put the HTML file in the directory, but note that the directory of files will not generate the corresponding ID within the R.java.

4, Libs directory is mainly used to store third-party jar packages.

5, the Res directory is mainly used to store resource files, picture resources placed in the drawable, layout resources placed in layouts, menu resources placed in menus, strings and color equivalent resources stored in values

6, Project.Properties is mainly used to set the compiler properties, such as we can set the inside of the target=android-22 can be set to compile version of Android 5.1.1

7, Androidmanifest.xml is the application manifest file, the four components of Android need to be registered in the file to use, the file's structure attribute description will be described in detail in the subsequent Beauvennes.

8, the bin directory is compiled after the generated apk and other files.


This article is from the "Fukung-Kunming Mobile Internet" blog, please be sure to keep this source http://kinbos.blog.51cto.com/2092114/1701605

Android Learning summary Eclipse project directory structure description and use

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.