Free tutorials & notes in Hindi & English · Clean code examples 🧰 मुफ़्त PDF और फ़ोटो टूल्स →
🟢 शुरुआत  ·  Lesson 02

Android Studio और SDK install करें

System requirements

Minimumआरामदायक
RAM8 GB16 GB या ज़्यादा
Disk16 GB खाली (SSD बहुत ज़रूरी)30 GB+ SSD
CPU64-bit, virtualization enabledनया Intel/AMD या Apple Silicon
OSWindows 10/11 64-bit, macOS, या 64-bit Linux

Android Studio install करें

  1. 1developer.android.com/studio खोलकर latest stable version download करें
  2. 2Windows: .exe चलाएँ और "Android Virtual Device" checked रखें · Mac: Applications में drag करें
  3. 3Android Studio खोलें → "Do not import settings" चुनें
  4. 4"Standard" install type और light या dark theme चुनें
  5. 5सारे licences accept करके Finish — SDK download होता है (1–3 GB)
Normal connection पर 15–30 मिनट

Setup wizard और SDK

🔒 Android Studio – WelcomeWelcome to Android Studio➕ New Project📂 Open⬇ Get from Version ControlMore Actions ▾ → SDK Manager · Virtual Device Manager

SDK Manager: क्या install करें

More Actions → SDK Manager (या Settings → Android SDK):

  • SDK Platforms: latest Android version (API 35) — compileSdk के लिए ज़रूरी।
  • SDK Tools: Android SDK Build-Tools, Platform-Tools (adb), Android Emulator, Google USB Driver (सिर्फ़ Windows)।

Emulator (AVD) बनाएँ

  1. 1More Actions → Virtual Device Manager → Create device
  2. 2Pixel 8 जैसा phone चुनें → Next
  3. 3System image चुनें (latest API, x86_64 या Apple Silicon पर arm64) → download
  4. 4Finish → emulator शुरू करने के लिए ▶ दबाएँ
AVD = Android Virtual Device
9:41▮▮ 85%Emulator – Pixel 8⋮Hello World!Run ▶ के बाद आपकी app यहाँदिखती है
Emulator = आपके computer के अंदर एक phone

असली phone (USB debugging)

  1. 1Settings → About phone → "Build number" पर 7 बार tap → "You are now a developer"
  2. 2Settings → System → Developer options → USB debugging on करें
  3. 3USB cable लगाएँ → phone पर "Allow USB debugging?" allow करें
  4. 4Android Studio में ▶ के बगल वाले device dropdown में phone दिखेगा
8 GB laptops पर अक्सर emulator से तेज़
Terminal – device check करें
# Android Studio Terminal (bottom bar) – list connected devices
adb devices

List of devices attached
R58N12ABCDE     device          ← your phone
emulator-5554   device          ← the emulator

Wireless debugging

Android 11+ पर बिना cable के debug कर सकते हैं (phone और laptop एक ही Wi-Fi पर)। Android Studio में Device Manager → Pair devices using Wi-Fi से QR code scan करें, या adb use करें:

Terminal
# Phone: Developer options → Wireless debugging → Pair device with pairing code
adb pair 192.168.1.23:37155      # enter the 6-digit code shown on the phone
adb connect 192.168.1.23:41733   # the IP:port shown on the Wireless debugging screen

आम setup errors

ErrorFix
"HAXM / hypervisor not installed" / emulator शुरू नहीं होताBIOS में virtualization (Intel VT-x / AMD-V) enable करें; Windows पर "Windows Hypervisor Platform" on करें।
Gradle sync बहुत देर लेता हैपहला sync libraries download करता है — internet on रखें। बाद के syncs तेज़ होते हैं।
Device list में phone नहीं दिखताData cable use करें (सिर्फ़ charging वाली नहीं), Windows पर Google USB Driver install करें, RSA prompt accept करें।
Disk fullSDK Manager में बेकार system images और पुराने AVDs delete करें।

सारांश

  • Android Studio (Standard setup) install करें — यह SDK और JDK साथ लाता है।
  • SDK Manager: latest platform + platform-tools + emulator।
  • AVD पर या USB/wireless debugging वाले phone पर test करें।
✅ Practice

एक emulator बनाइए और अपना phone connect कीजिए। adb devices चलाकर confirm कीजिए दोनों दिखते हैं।

अक्सर पूछे जाने वाले प्रश्न (FAQ)

क्या 8 GB RAM पर Android Studio चल सकता है?
हाँ, पर emulator धीमा होगा। दूसरी apps बंद करें और emulator की जगह USB debugging से असली phone पर test करें।
क्या Java अलग से install करनी पड़ती है?
नहीं। Android Studio में अपना JDK (JetBrains Runtime) आता है जिसे Gradle default रूप से use करता है।
Android SDK कहाँ install होता है?
Windows पर आमतौर पर C:\Users\\AppData\Local\Android\Sdk, macOS पर ~/Library/Android/sdk। Settings → Languages & Frameworks → Android SDK में देख सकते हैं।
← Android Tutorial (Kotlin)
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

अगला topicपहली Android App (Hello World) आपकी प्रगति: 2 / 43 (5%) · Lesson 3 / 43 आगे बढ़ें →

यह lesson कैसा लगा?

आपकी राय से हम content और बेहतर बनाते हैं।

अपना review और सुझाव लिखें (वैकल्पिक)

Review approve होने के बाद आपका नाम और शहर इसके साथ public दिख सकते हैं। Email या phone न लिखें।

▶ CodingEasily on YouTube

Video से सीखें – आसान Hindi में

चुनी हुई video: RDBMS भाग 3 – Class XI Commerce IT

▶ Channel subscribe करें