Android Studio (iii) Android Studio project structure analysis

Source: Internet
Author: User

I. Understanding several project structure types for Android studio

Android Studio offers several types of project structures

Project

Package

Android

Project Files

Problems

Productions

Test

Second, Project

E xternal libraries refers to the development environment on which the project depends: Java SDK 1.7 and Android SDK API 19

Settings.gradle: The contents are as follows:

Include ': App ', ': ChinaBuyeV3.1.0 ', ': Adjust ', ': Actionbarsherlock ', ': Slidingmenu_library ', ': Google-play-services_ Library ', ': Multicolumnlistview_huewu '
From the big to the small, followed by some library of the project

local.properties: The contents are as follows:

Sdk.dir=c\:\\users\\administrator\\appdata\\local\\android\\sdk
Contains content that is the location of the SDK

Gradlew.bat/gradlew: Not very understanding, can temporarily not consider.

Gradle.properties: The inside is empty, guess and project.properties almost.

CHINABUYE.IML: Guess is a list of resource files for the project

Build.gradle: Content is the content of all references to the current project.

App: This folder contains total information about the entire project.

Gradle: Contains the Gradle-wrapper.jar and property settings.

Build: Empty, not known.

. Idea: not understood.


Third, package

The content displayed is all code and resources for the project itself and is displayed as a hierarchical folder. As for the rest of the information is hidden.


Third, Android

The package is similar to the one above, but there is a good classification, and each project is divided into Java and Resources sections. The Java section is the Code section, and the Resources section is the resource file section. The use of this structure is relatively clear and at a glance.

Iv. Project Files

All of the information presented is simply presented in the form of a project structure in Eclipse, which is relatively easy to accept. You can select this type when viewing a file, and it is recommended to start with Android type when developing.


Wu, Problems

Slightly

Liu, Production

Slightly

Seven, Test

Slightly









Android Studio (iii) Android Studio project structure analysis

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.