【Download and install Android Studio】

Previous: [Create birthday greetings in Kotlin]

1. Preparation

In this section, you'll learn how to download and install Google's Android development environment: Android Studio.

Learning Content

  • How to check that your computer configuration meets the minimum requirements to run the Android Studio tools.
  • How to download and install the Android Studio tools.

required conditions

  • A computer running a recent version of Windows, Linux, or macOS.
  • The computer can access the Internet.

2. Explore Android Studio

Android Studio is the official integrated development environment (IDE) for developing Android applications, built and distributed by Google. It is a specialized "workshop" where software developers can use the tools to easily design, build, run and test applications for the Android platform. Android Studio is based on IntelliJ IDEA, pre-installed Android plug-in, and made some adjustments specifically for the Android platform, so it will give you a very familiar feeling.

In this section, you will install Android Studio.

Android

Android is an operating system (like Windows, Linux, or macOS) for smartphones, as well as other devices such as tablets, wearables, TVs, and cars. You can run apps like Google Phone, Google Messages, Gmail, Google Photos and all your games on Android.

Tip: Android is one of the most popular mobile operating systems. Android runs on more than 2.5 billion devices worldwide, including watches, TVs, and cars.

3. Verify system requirements

In order to run Android Studio, your computer and operating system need to meet some requirements.

  1. Please make sure your internet connection is good and stable. Depending on the speed and reliability of your internet connection, installation time may vary.
  2. Open any web browser (eg Chrome) and go to https://developer.android.com/studio#Requirements .
    This page lists specific hardware requirements for installing and running Android Studio on a computer .
  3. Follow the steps below to check the system requirements for Windows or macOS.

macOS

  1. Select Apple menu 2fe87d873f1814b8.png -> About This Mac.
  2. Under the Overview tab of the pop-up window, look for the OS version number and make sure it is within the required range.
  3. Next to Memory, check that the total memory listed meets or exceeds the minimum required.

For example, in the screenshot below, the OS version is 10.14.6 and the RAM is 16GB.

insert image description here

  1. In the same pop-up window, switch to the Displays tab.
  2. In your monitor's instructions, make sure your computer's screen resolution meets or exceeds the recommended resolution. In the screenshot below, the resolution is 2560 X 1600 .

insert image description here

  1. Switch to the Storage tab.
  2. Check the available disk space and make sure it meets or exceeds the recommended disk space size for running Android Studio.

insert image description here

  1. If your computer meets all requirements, go ahead and download Android Studio .

Windows 10

On a Windows computer, you can find all the information you need to verify your system requirements in Settings.

  1. Open the settings.

Tip: You can use the search tool at the bottom of the screen, next to the Start button, to find out.

  1. Click System .
  2. At the bottom of the left navigation pane, click About .
  3. Make sure Windows specifications meet or exceed relevant requirements.

insert image description here

  1. Select a device specification .
    insert image description here

  2. Make sure that the built-in RAM is at least not lower than the required capacity, and the system type is a 64-bit version of the operating system.

  3. In the left navigation bar, click Display .

  4. Make sure the resolution is not lower than the required value.

insert image description here

  1. In the left navigation pane, click Storage .
    10. Please make sure that the local storage has enough free space to install Android Studio.

insert image description here

4. Download Android Studio

Note: The appearance of the installation dialog and icons may vary depending on the version of Android Studio, but the installation steps should remain largely the same.

Download the Android Studio installation file

  1. Open any web browser and go to https://developer.android.com/studio . This is the Android Developers website where you can download Android Studio. This page automatically detects your operating system.
  2. Click to download Android Studio . The Terms and Conditions page of the Android Studio License Agreement opens .
  3. Read the license agreement.
  4. If you agree to the terms and conditions, at the bottom of the page, tick I have read and agree to the terms and conditions above .
  5. Click **Download Platforms for Android Studio...** to start the download.
  6. When prompted, save the file somewhere you can easily find it (such as your desktop or Downloads folder).
  7. Wait for the download to complete. Downloading may take some time, so have a cup of tea!

5. Install Android Studio

Note: If you need more help or want to customize your installation, check out the instructions for installing Android Studio , which include screen capture instructions.

Install Android Studio on macOS

  1. Open the folder where you downloaded and saved the Android Studio installation file.
  2. Double-click the downloaded file. The following popup will appear:

insert image description here

  1. Drag and drop the Android Studio icon into the Applications folder.
  2. In the Applications folder, double-click the Android Studio icon to start the Android Studio setup wizard .

If you see a warning about installing or running a file downloaded from the Internet, choose to accept the installation.

Follow the Android Studio setup wizard , accepting the defaults for all steps.

During installation, the setup wizard downloads and installs additional components and tools needed to develop Android applications. Depending on your internet speed, this may take some time. Let's have another cup of tea!

  1. After the installation is complete, Android Studio will start automatically.

The Welcome to Android Studio dialog will open , and you're ready to start creating your app!

insert image description here

Install Android Studio on Windows

  1. Open the folder where you downloaded and saved the Android Studio installation file.
  2. Double-click the downloaded file.

If you see a warning about allowing the installation to change your computer, confirm the installation.

The Welcome to Android Studio Setup dialog is displayed .

insert image description here

  1. Click Next to start the installation.
  2. Accept the default installation settings for all steps.
  3. After the installation is complete, click Finish .

The Android Studio setup wizard is displayed.

  1. Follow the Android Studio setup wizard , accepting the defaults for all steps.

During installation, the setup wizard downloads and installs additional components and tools needed to develop Android applications. Depending on your internet speed, this may take some time. Let's have another cup of tea!

  1. After the download and installation is complete, click Finish .

The Welcome to Android Studio dialog will appear , and you're ready to start creating your app!

insert image description here

congratulations! You have successfully installed Android Studio. Now you are ready for the next step!

6. Learn more

Android Developer Documentation:

Next: 【Create and run your first Android application】

Guess you like

Origin blog.csdn.net/Jasonhso/article/details/125898573