Android Studio installation and configuration environment variables

1. Download

Official website download address

2. Installation

After downloading, you can install it directly. When you open Android Studio for the first time, you usually need to download some components. Just use the ones recommended by him. You don’t need to change anything, just go to next.

3. Configure environment variables

Android Studio comes with Android SDK, which provides many command tools, which may be used in development, so configure it in the environment variable.

Check the location of the Android SDK, if it is installed by default, the default path:

C:\Users\用户名\AppData\Local\Android\Sdk

The directory that needs to be configured:

# 最常用的adb命令,可以安装APK,查看连接的设备
platform-tools/

# 最常用的emulator命令,可以通过命令行创建模拟器
tools/

# 用NDK开发的项目,需要用到这里的命令编译
ndk-bundle/

4. Test environment variables

adb verion

Guess you like

Origin blog.csdn.net/2301_76354366/article/details/129151711