Escriu per cercar…

Android Studio

Introducción

Instala Android Studio.

Puedes utilitzar JetBrains Toolbox.

Al arrancar por primera no encontrará ninguna Android SDK.

Continua (Next) el SDK se instalará en C:\Users\USERNAME\AppData\Local\Android\Sdk, donde USERNAME es el usuario de tu PC.

To install the Android SDK on macOS, the most reliable path is via Android Studio (it bundles the SDK Manager and keeps everything updated). Here are the practical options.

To install the Android SDK on macOS, the most reliable path is via Android Studio (it bundles the SDK Manager and keeps everything updated). Here are the practical options.

  1. Install Android Studio
    • Download from the official Android Developer site (Android Studio for Mac).
  2. Run Android Studio → Setup Wizard
    • When prompted, select Standard (unless you need a custom location).
    • The wizard installs:
      • Android SDK
      • Platform Tools (adb, fastboot)
      • Emulator + system images (optional)
  3. Verify / manage SDK components
    • Android Studio → Settings/PreferencesAppearance & BehaviorSystem SettingsAndroid SDK
    • From there you can install:
      • SDK Platforms (Android API levels)
      • SDK Tools (Platform-tools, Build-tools, Command-line Tools, Emulator)

Where it ends up on macOS

Typically:

  • ~/Library/Android/sdk

Add the SDK tools to your shell PATH (so adb works in Terminal)

If you use zsh (default on modern macOS), add this to ~/.zshrc:

shell script
export ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"
export PATH="$PATH:$ANDROID_SDK_ROOT/platform-tools:$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$ANDROID_SDK_ROOT/emulator"

Then reload your shell:

shell script
source ~/.zshrc

Test:

shell script
adb --version
sdkmanager --version

Option B: Install SDK Command-line Tools only (no Android Studio)

Use this if you don’t want the full IDE.

  1. Download Command line tools (macOS) from the Android Developer “SDK Tools” page.
  2. Unzip and place it like this (important folder layout):
shell script
mkdir -p "$HOME/Library/Android/sdk/cmdline-tools/latest"
mv <unzipped-folder>/* "$HOME/Library/Android/sdk/cmdline-tools/latest/"

Estàs llegint una vista prèvia.

Inicia sessió amb Google per llegir la pàgina completa.

Inicia sessió amb Google

Amb qualsevol compte de Google. Només et demanarem que acceptis les condicions del servei.