Android SDK Setup (Windows)

0•

Automates the installation of Android SDK and JDK environments on Windows without requiring the full Android Studio IDE.

This skill provides a streamlined, command-line approach to setting up a functional Android development environment on Windows. It is specifically designed to resolve common build errors like 'ERR_SDK_NOT_FOUND' and issues with 'cap run android' by installing only the essential components: the JDK, Android command-line tools, and platform tools. It intelligently detects project requirements from gradle files, manages environment variables like ANDROID_HOME and JAVA_HOME, and ensures all licenses are accepted via a guided, user-approved process, making it ideal for developers who prefer lightweight setups or are configuring CI/CD environments.

主な機能

01Headless Android SDK and JDK installation without Android Studio
02Project-specific version detection via variables.gradle and build.gradle
03Interactive installation path selection with disk space verification
04Automated environment variable configuration (JAVA_HOME, ANDROID_HOME, PATH)
05Safe PowerShell-based execution with explicit user confirmation for all file operations
060 GitHub stars

ユースケース

01Resolving ERR_SDK_NOT_FOUND and build failures in Capacitor or React Native projects
02Configuring Android CLI tools for developers who prefer VS Code over Android Studio
03Setting up a lightweight Android build environment on a new Windows machine