Install Android Studio Tutorial

Install Android Studio

Click the link to enter the download: Android Studio download address

insert image description here
click to download
insert image description here

Click android-studio-2021.2.1.16-windows to install
insert image description here

Enter the installation and click Next
insert image description here

The default settings do not need to be changed, click Next
insert image description here

Change the installation location: D:\Android\Android Studio
insert image description here

Default settings, click Install
insert image description here

start installation
insert image description here

Start Android Studio, first see the squirrel interface
insert image description here

Select [Do not import settings] radio button (do not import previous settings) and click OK
insert image description here

Click Cancel
insert image description here

Click Next
insert image description here

Select the type of installation, select Custom installation
insert image description here

Default JDK location
insert image description here

Choose a personal preference interface'
insert image description here

Create a D:\Android\SDK location yourself
insert image description here

Here you can set the default emulator settings. If your computer memory is large enough, you can also set the emulator memory to be larger.
insert image description here

insert image description here

Check whether the settings meet the requirements. If you need to modify it, you can return to the previous step. If there is no problem, click Next
insert image description here

Accept the license agreement
insert image description here

Wait patiently for the component download to complete
insert image description here

Click Finish
insert image description here
to display the welcome window
insert image description here

Click【Customize】and then click All settings...
insert image description here

Set your favorite theme
insert image description here
Set the mouse to adjust the font size of the editor
Check the [Change font size with Ctrl + Mouse Wheel] check box
insert image description here

Set the editor font, font size and line spacing
insert image description here

Set the character encoding of the file, here uniform UTF-8 character encoding
insert image description here

Set up automatic import Tick the two check boxes on the picture shown
insert image description here

Do not check the [Match case] check box here
insert image description here

Set the file header File Header, so that every time a new class is created, the set document comments will be automatically added
Click OK
insert image description here

Download the Android SDK using the SDK Manager
insert image description here

Download the specified version of the Android SDK (33, 32) and continue to click the [OK] button
insert image description here

Click【OK】
insert image description here

Click the [OK] button to confirm the change.
insert image description here
If you need other versions of the SDK, you can enter the main window of Android Studio and choose to install other SDK versions as needed.

Start Virtual Device Manager
insert image description here
and click Create virtual device
insert image description here

Select a device - Phone - Pixel 4
insert image description here

Download the selected system image - API 33
insert image description here

Download the selected system image - API 33
Click Next
insert image description here

Click finish after loading is complete
insert image description here

Click the Next button to set the virtual machine in the virtual device configuration dialog box
insert image description here

Click Finish
insert image description here

Start the virtual machine
insert image description here

insert image description here

Create an Android application
Click the [New Project] button
insert image description here

Template selection "Empty Activity"
insert image description here

Set the project name, package name (all lowercase), save location, language (Java), minimum SDK
insert image description here

Click the Finish button to download the build tool Gradle compressed package, the process is very long, you need to wait patiently
insert image description here

Currently only created a virtual machine Pixel 4 API 33, click the run button of the green triangle

insert image description here

View the program running results on the virtual machine
insert image description here

For real device testing, connect the mobile phone to the computer with a data cable, and enable USB debugging mode in the mobile phone developer options
insert image description here

insert image description here

insert image description here

Guess you like

Origin blog.csdn.net/qq_64505257/article/details/126838806