Basic steps to build Android development environment for Android Studio:
- Install JDK (java development environment, Android is developed using java)
- Install Android SDK
- Download and install Android Studio software
- Install SDK-Manager
- Android Studio configuration SDK
- Android Studio creates the first Android project
Foreword:
Android is developed using the java language. I believe that almost all of the beginners of Android mobile development have been exposed to java. Therefore, the JDK installation and configuration should have been configured. I will not repeat them here. The following mainly introduces the recording of the installation and construction steps of Android Studio:
Install Android SDK
Android SDK is a free and professional programming language used to create Android applications. The Android SDK developed by Google for its Android platform is a convenient program for mobile application developers.
Android Studio is an Android development environment based on IntelliJ IDEA. Similar to Eclipse ADT, Android Studio provides integrated Android development tools for Development and debugging.
It doesn’t matter if you don’t have the SDK installed on your computer, because Android Studio will download the SDK itself. Here you can also download the SDK yourself, and unzip the downloaded zip package to a medium disk directory named by the English specification. Later, the Android Studio configuration points to the SDK. Can be
SDK download: https://android-sdk.en.softonic.com/
Install Android Studio
Google official download Android Studio: https://developer.android.google.cn/studio/
I downloaded the 3.5.2 version here, the interface icons of different versions are a bit different
Download URL for Gradle, SDK, etc.
Download the corresponding installation package according to your own computer system. I download the .exe
installation package of the Windows operating system here . Before downloading, I agree to the agreement.
Let’s start to install Android Studio. Basically, select the default and then the regular "Next"
Here, choose the installation disk by yourself.
By default, select Android Studio. Click "Install" and
wait for the installation to complete. The
above Android Studio installation is complete. Next, start and configure Android Studio.
Because another version is installed on my computer, there will be more "Previous version" option here, please ignore, select "Do not importsettings", then click "OK"
click here "Cancel"
click "Next"
here to choose a color theme settings page, I like Darcula
because I have already installed the SDK download, here point to the SDK installation directory
if the previous If there is no SDK, the SDK will be downloaded here. The interface is as follows.
Due to the Google external wall, the download process may be very slow for a long time. Just wait patiently.
Install SDK-Manager
Android SDK Manager and AVD Manager use reference here:
Android Studio configuration SDK
Configure SDK: Click "Configre"–>"Settings"
Select "Android SDK" and point to the SDK installation directory in "Android SDK Location"; and download the Android version "SDK Platforms", you can download all of them, or you can download them all. Because of the convenience of your own picture, you have downloaded all of them, not here It is recommended to download the version you need, the process is a bit slow, wait patiently...The
installation is complete, and the Android Studio configuration is basically completed
Android Studio creates the first Android project
Select the first option to
choose empty Empty Activity
complete the project name: name, project storage location, 注意:
Language selection Java
process of building needs throughout the network, due out Gradle build the synchronization process may be slow, be patient ... !!! also fail
to build The success is as follows, a green triangle will appear, no error is reported
Configure to create a simulator
Click "Create Virtual Device" to create a simulated device, because I have already created one, so the list will show one here
. Choose the size you need in the list, and then "Next"
Run and click the green triangle to run.
Successfully run as follows