Android Studio Madual as a application and the difference between working space and modual

Source: Internet
Author: User

Android Studio Madual as a application and the difference between working space and modual

Objective:

The purpose of this article is to use the Android Studio development when you enter a misunderstanding, after the introduction of the company project when trying to use the problem is always, after a series of modifications and access to the perfect solution. If there are flaws welcome to point out, hope to give some help to the entry level.

The main development tool is the difference between configuration, if it is shortcut keys and what custom font size This search tutorial is not abstract, you can follow the tutorial step by step operation.

The difference between Q:android studio and Eclipse, about the display of running modual and how to act as a module that can be run.

difference: mainly about as in project and module, corresponding to workspace in Eclipse and project, not working set in eclipse.

  The module can be run: As a project does not have to create a new project to run, a project can choose to build multiple module that can be run, just like building multiple projects in Eclipse's workspace.

The as is selected in Build.gradle and Setting.gradle in turn:

  build.gradle-------->apply plugin: ' Com.android.application '

Setting.gradle----->include ': module name ', ': module name '

set to a module that can be run: Select the drop-down button to the left of the triangle symbol, such as woapp, such as application can be run items, select a click on the triangle symbol to run, select which is running which, and can appear the Android The reason for the app is that the first line in Build.gradle is set to apply plugin: ' Com.android.application ', the Modula option can be run (a bit verbose), select Edit Configurations can be viewed, and if the modual is not present, and the project structure is not selected, then the problem with project configuration is not found.

Add Module: What modual is basically setting.gradle inside the configuration, need to include ': Modualname ', ': Modualname '

You can display the module by adding a name.

And then you can see it in edit configration.

Android Studio Madual as a application and the difference between working space and modual

Related Article

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.