Androidstudio installation and use of debugging

Source: Internet
Author: User

1 installation and basic use of 1.1androidstudio installation

1, to the Android-studio\bin folder inside, according to their own computer configuration, open Studio.exe or Studio64.exe

2, follow the wizard by default step by step to complete the installation.

Note: There are two options "standard" and "custom", that is, standards and customizations, if your native Android SDK is not configured, then it is recommended that you choose "Normal", click "Finish" button

3. Download Dependent components

Then go to the Download Components page, this process needs FQ, and rely on your speed, time a bit long, we wait patiently ...

4. New Project

5, fill in the project name and registration and project path and so on "Next", select a blank Activity, click "Finish" after the following a progress bar, many people easily stuck here, need to download Gradle, only the first time will download, a little slow, need FQ, We also wait patiently

After successful download, see the following complete project interface

6. Set the JDK and SDK paths

File->othersettings->default Project Structure

2APK Packaging

Android Studio uses Gradle to build the project, the server online packaging process is as follows:

(1) Configure the Gradle environment:

Example: Extracting Gradle to D:\

Set system variable Gradle_home to D:\gradle

Set system variable path to D:\gradle\bin

(2) Pack apk

Open cmd, to the D:\Test\app directory, run the command Gradle build to start packaging, after packaging is complete, the directory generates a build folder, inside outputs/apk/is the generated apk file

3.SVN Configuration

1. See if there is a svn.exe in the SVN installation Location Bin directory (not installed by default)

2. If yes, skip view 3, uninstall reinstall SVN if not, and select command line client tools when installing

3. Open Android studio,file->setting-> Version Control->subversion

, tick the command line client: and add the Svn.exe path in

4. Import Project: Vcs->checkout Version from Control

5. After successful import, the toolbar has Updaate and commit button, the normal update,commit can be

4.CheckStyle Configuration

1. Reinstall Java, need JAVA8 support to use Checkstyle plug-in, \\172.17.32.99 e:\ share java8 installation files

2. Configure Java Environment variables

3.Android Studio Installation Checkstyle Plugin

(1) File->settings->plugins->browse Repo....->checkstyle-idea, then install, reboot and then file->settings-> Othersettings find Checkstyle, import their own checkstyle.xml

5.CheckStyle Configuration

Androidstudio installation and use of debugging

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.