Compare Eclipse with Android Studio directory parsing
Source: Internet
Author: User
<span id="Label3"></p><p><p><strong>A brief introduction to the directory structure of the two IDE (eclipse and As) developed by ANDROID.</strong></p></p><p><p><em><strong>1. The following is the directory organization for Eclipse</strong></em></p></p><p><p></p></p><p><p>It mainly introduces several folders that need to be known in the introductory Stage.</p></p><p><p><em>src directory:</em> The source code that holds the Project. For example, Mainactivity.java or a variety of Java files that need to be built Themselves.</p></p><p><p><em>Gen Directory</em> : automatically generated Files. Where the R class holds the unique ID of the resource file. We can quickly find the resources we need through R.JAVA. Resources are typically accessed through r.id.xxx during programming.</p></p><p><p><em>Android version</em> : The jar package supported by the project and the Mate-info directory required for Packaging. The start stage does not have to be too concerned.</p></p><p><p><em>Assets Directory</em> : Provide the Res directory to hold the resource files, but also can hold some other files that will not be automatically generated in the R.java ID. These files can be accessed through the Assetmanager class.</p></p><p><p><em>Bin directory</em> : Do not care about this directory when developing. The bin directory is the compiled bytecode storage directory, including the APK package that packages the program (installs the application package).</p></p><p><p><em>Libs directory</em> : supporting files for Files.</p></p><p><p><em>Res directory</em> : Res resource Directory. When you add a resource to this directory, it is automatically recorded by R.java. Drawable Store the image files needed by the Application. The folder where the suffix is added to the drawable is a picture of different Quality.</p></p><p><p>Layout is the list of layouts for the Screen. You can store different layout structures and Controls.</p></p><p><p>Menu File. The menu resource file must be placed in the Res/menu directory. The menu resource file must use the <menu> tag as the root Node.</p></p><p><p>Values parameter value Directory. Can be in the strings.xml of the various text, different types of data, is a number of resource descriptive files.</p></p><p><p>the <em>androidmanifest.xml file</em> is a required file in the Android program and is the total configuration file for the Project. Document the various components used in your app. Lists the features that the application provides, and you can specify the service permissions that are used in the Application.</p></p><p><p><em>The rest of the files are mainly about storing some version Information.</em></p></p><p><p><strong><em>Directory Structure of 2.AS</em></strong></p></p><p><p>We mainly introduce some of the files in the app, other files beginners do not care too much, if interested we in the next article in Succession.</p></p><p><p></p></p><p><p>We can find the activity file in Src. Through this file to implement the functions required by the app, complete the function code, call other files defined in the interface to access the resources, the receiver or generator read-write and so On. The Res directory has the same functionality as in Eclipse.</p></p><p><p>The R.java file directory is as shown in.</p></p><p><p></p></p><p><p>Under the app folder, the more important is gradle, you can see the article http://stormzhang.com/devtools/2014/12/18/android-studio-tutorial4/.</p></p><p><p>Summing up, This article is mainly for beginners introduced the Android development commonly used in the directory structure of the ide, do a bit of understanding on the Ok. Thank you for your Attention.</p></p><p><p> Compare eclipse with Android Studio directory parsing </p> </p></span>
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