-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Hakim edited this page Sep 18, 2025
·
1 revision
Panduan lengkap untuk menginstal dan menjalankan Local YouTube Downloader Android.
- Operating System: Windows 10/11, macOS 10.14+, atau Linux
- RAM: Minimum 8GB (16GB recommended)
- Storage: Minimum 4GB free space
- Internet: Koneksi internet stabil
- Android Studio: Flamingo (2022.3.1) atau lebih baru
- Java Development Kit: JDK 11 atau lebih baru
- Android SDK: API 24 (Android 7.0) hingga API 34 (Android 14)
- Git: Untuk cloning repository
- Download Android Studio dari developer.android.com
- Jalankan installer dan ikuti wizard instalasi
- Pilih "Standard" installation type
- Tunggu hingga SDK components terdownload
# Using Homebrew
brew install --cask android-studio
# Or download from official website
# https://developer.android.com/studio# Download dan extract
wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.3.1.21/android-studio-2022.3.1.21-linux.tar.gz
tar -xzf android-studio-*.tar.gz
sudo mv android-studio /opt/
sudo ln -sf /opt/android-studio/bin/studio.sh /usr/local/bin/android-studio
# Install dependencies
sudo apt update
sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386- Buka Android Studio
- Go to File > Settings (Windows/Linux) atau Android Studio > Preferences (macOS)
- Navigate to Appearance & Behavior > System Settings > Android SDK
- Install required SDK platforms:
- Android 14 (API 34) - Target
- Android 7.0 (API 24) - Minimum
- Install SDK Tools:
- Android SDK Build-Tools
- Android Emulator
- Android SDK Platform-Tools
- Intel x86 Emulator Accelerator (HAXM installer)
# Clone the repository
git clone https://github.com/yourusername/Local-Youtube-Downloader-Android.git
# Navigate to project directory
cd Local-Youtube-Downloader-Android- Launch Android Studio
- Click "Open an existing project"
- Navigate to cloned repository folder
- Select the project folder and click "OK"
- Wait for Gradle sync to complete
# Manual sync if needed
./gradlew build --refresh-dependencies- Go to File > Project Structure
- Under Project Settings > Project:
- Set Project SDK to Android API 34
- Set Project language level to 11
- Under Modules > app:
- Set Compile Sdk Version to 34
- Set Build Tools Version to latest
- Enable Developer Options:
- Go to Settings > About Phone
- Tap Build Number 7 times
- Enable USB Debugging:
- Go to Settings > Developer Options
- Enable USB Debugging
- Connect device via USB
- Accept debugging permission on device
- Open AVD Manager in Android Studio
- Click "Create Virtual Device"
- Select device (recommended: Pixel 6)
- Choose system image:
- API 34 (Android 14) for testing latest features
- API 24 (Android 7.0) for minimum compatibility
- Configure AVD settings:
- RAM: 2048MB minimum
- Internal Storage: 2GB minimum
- SD Card: 1GB (optional)
# Build debug APK
./gradlew assembleDebug
# Install on connected device
./gradlew installDebug# Build release APK
./gradlew assembleRelease
# Build signed APK (requires keystore)
./gradlew assembleRelease -Pandroid.injected.signing.store.file=keystore.jks# Unit tests
./gradlew test
# Instrumentation tests
./gradlew connectedAndroidTest
# All tests
./gradlew check- Select target device/emulator
- Click Run button (
βΆοΈ ) or press Shift+F10 - Wait for app to install and launch
- Verify app opens without crashes
# Clear Gradle cache
./gradlew clean
rm -rf ~/.gradle/caches/
# Re-sync project
./gradlew build --refresh-dependencies- Open SDK Manager
- Install missing SDK components
- Update local.properties file:
sdk.dir=/path/to/Android/SdkUpdate app/build.gradle.kts:
android {
compileSdk = 34
buildToolsVersion = "34.0.0"
}- Enable Hardware Acceleration:
- Install Intel HAXM (Windows/macOS)
- Enable KVM (Linux)
- Increase RAM allocation in AVD settings
- Use x86_64 system images instead of ARM
# Make gradlew executable
chmod +x gradlew
# Fix Android SDK permissions
sudo chown -R $USER:$USER $ANDROID_HOME-
Increase heap size:
- Go to Help > Edit Custom VM Options
- Add:
-Xmx4096m
-
Enable parallel builds:
- Settings > Build > Compiler
- Check "Build project automatically"
-
Configure Gradle:
- Settings > Build > Build Tools > Gradle
- Set Gradle JVM to JDK 11+
Add to gradle.properties:
# Enable parallel builds
org.gradle.parallel=true
org.gradle.configureondemand=true
# Increase heap size
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=512m
# Enable build cache
org.gradle.caching=true- Android Studio installed and configured
- Android SDK (API 24-34) installed
- Repository cloned successfully
- Project opens without errors
- Gradle sync completes successfully
- Device/emulator configured
- App builds and runs successfully
- Tests pass without failures
If you encounter issues during installation:
- Check Prerequisites: Ensure all requirements are met
- Search Issues: Look for similar problems in GitHub Issues
-
Create Issue: If problem persists, create a new issue with:
- Operating system and version
- Android Studio version
- Error messages and logs
- Steps to reproduce
After successful installation:
- Read the Quick Start Guide to begin using the app
- Check Development Setup for development environment
- Review User Guide for detailed usage instructions
Installation complete! π You're ready to start using Local YouTube Downloader Android.