Android Studio 개발환경 셋팅

설명
Tags
 

안드로이드 스튜디오 설치

Download and install Android Studio. While on Android Studio installation wizard, make sure the boxes next to all of the following items are checked:
  • Android SDK
  • Android SDK Platform
  • Android Virtual Device
Then, click "Next" to install all of these components.
If the checkboxes are grayed out, you will have a chance to install these components later on.
Once setup has finalized and you're presented with the Welcome screen, proceed to the next step.
 

Android SDK 설치

Android Studio installs the latest Android SDK by default. Building a React Native app with native code, however, requires the Android 11 (R) SDK in particular. Additional Android SDKs can be installed through the SDK Manager in Android Studio.
 
To do that, open Android Studio, click on "Configure" button and select "SDK Manager".
notion image
The SDK Manager can also be found within the Android Studio "Preferences" dialog, under Appearance & Behavior → System Settings → Android SDK.
Select the "SDK Platforms" tab from within the SDK Manager, then check the box next to "Show Package Details" in the bottom right corner. Look for and expand the Android 11 (R) entry, then make sure the following items are checked:
  • Android SDK Platform 30
  • Intel x86 Atom_64 System Image or Google APIs Intel x86 Atom System Image
Next, select the "SDK Tools" tab and check the box next to "Show Package Details" here as well. Look for and expand the "Android SDK Build-Tools" entry, then make sure that 30.0.2 is selected.
Finally, click "Apply" to download and install the Android SDK and related build tools.
notion image
notion image
 

ANDROID_HOME 환경변수 설정

notion image
notion image
notion image
# 파워쉘 - 환경변수 목록 확인 $ Get-ChildItem -Path Env:\
notion image
 

Platform-tools 환경변수 추가

default location : %LOCALAPPDATA%\Android\Sdk\platform-tools
notion image
 
끝!