Android studio-directory structure

Source: Internet
Author: User

After the new project, the product directory structure for as is as follows:

. Idea://asgenerated by the project configuration file, similar to Eclipse's project.properties. app://as creates a module in the project. gradle:// the jar and wrapper of the build tool system, etc., the jar tells the as how to build contact with the Gradle of the system installation. External Libraries:// not a folder, just rely on Lib files, such as SDK. 

After the new project, the module directory structure of As is as follows:

Build//build the directory, equivalent to the default Java project in Eclipse Bin directory, the mouse on the right-click Show in Exploer to open the folder, compile the generated apk is also in the directory of the Outs subdirectory, but in the project as the default does not show the Out directory, Even if there is a compilation result is not displayed, right-click Open through the folder directly can see. Libs//A dependency package that contains packages such as Jar packages and JNI. Src://the source code, equivalent to the Eclipse project. Main//home FolderJava://Java code, including engineering and new is the default generated test project source code. Res://resource file, similar to eclipse. Layout//app Layout and interface element configuration, similar to eclipse. Menu//App menu configuration, similar to eclipse. Values//similar to eclipse. Dimens.xml://defines the configuration file for the CSS. Strings.xml://defines the configuration file for the string. Styles.xml://defines the configuration file for the style. ...... ://arrays and other documents. ...... ://directories such as assetsAndroidmanifest.xml://App Basics (Android managed files)Ic_launcher-web.png://app iconBuild.gradle://module's gradle build script

Android studio-directory 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.