Windows environment Android Studio V1.2.2 Series 4-Interface Introduction

Source: Internet
Author: User

References

[1] Android Studio Common features introduction, HTTP://ASK.ANDROID-STUDIO.ORG/?/ARTICLE/23

[2] Windows environment Android Studio V1.2.2 Series 1-Download and install, http://my.oschina.net/1pei/blog/467210

[3] Windows environment Android Studio V1.2.2 Series 2-First run, http://my.oschina.net/1pei/blog/467736

[4] Windows environment Android Studio V1.2.2 Series 3-Simple setup, http://my.oschina.net/1pei/blog/469674

[5] Android Debug Bridge, http://developer.android.com/tools/help/adb.html


Interface overview

In the Android Studio development environment , the entire interface is divided into the following 7 sections to describe:

Part 1th: Menus and some shortcut keys

Part 2nd: The Project panel, which is used to browse the projects file.

Part 3rd: Build variants panel, which sets the build variants for the current project. All Module By default will have debug and release two options. By default, the difference between debug and release is not obvious, and there is no difference in code.

Part 4: editing area for editing files.

5th Part : Gradle Project panel. Gradle Task List, double-click the executable Gradle task, the task according to Android, build, install, other, verification divided into five categories. The main tasks of each category are:

Android class tasks: dependent, signed reports.

Build class tasks: Assemble, build, clean, compile, Mockableandroidjar.

Install class Task: Install, uninstall.

Other class tasks: You can view them yourself.

Verification class tasks: Check, lint, test.

6th part : run with the monitor panel.

Part 7th: Gradle console panel.


Here's a closer look at each of these sections:

In part 1th: menus and some shortcut keys, the following shortcuts are most commonly used:

From left to right:

Make Project.

Select Run/debug Configuration.

Run ' app '.

Debug app.

Run ' app ' with Coverage

Attach Debugger to Android process.


Settings.

Project Structure.

Sync Project with Gradle files.

AVD Manager.

SDK Manager.

Android Device Monitor.


In the 2nd section above: The left side of the project panel, there is also a structure option that shows the structure of the active file in the current project/app. corresponding to the Androidmanifest.xml file, from the right file structure can be seen its one by one correspondence: application-->activity-->intent-filter-->action and category.

When you click the Run ' app ' shortcut, the Gradle task appears in part 7th : Gradle console: Assembledebug, which takes 3.537 seconds to complete. then in part 6th: Run with the monitor panel, you can see the following virtual Machine Emulator command line executed:

E:\APPDATA\LOCAL\ANDROID\SDK\TOOLS\EMULATOR.EXE-AVD Nexus_5_api_22_x86-netspeed Full-netdelay None

In the 6th part: running and monitoring panel, you can monitor the ADB logs, Memory, CPU, Logcat and more details when you select Android below.

ADB is the abbreviation for Android Debug Bridge, which is a command-line tool that can communicate with an emulator instance or a connected android-powered device. The ADB is comprised of a client, a server, and a daemon three-part. ADB can be found under the <sdk>/platform-tools directory. See [5] for more details on ADB.

Logcat can add filters to quickly find the logs you care about, based on the log level (Verbose, Debug, Info, Warn, Error, Assert).


You can also view terminal, which is the same as the command line, where you can execute some commands.

This 7-part interface provides a general overview of the Android Studio interface operation.

Windows environment Android Studio V1.2.2 Series 4-Interface Introduction

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.