BCA / B.Tech 10 min read

Android Studio Setup in English

What is Android Studio Setup in English


  • Before starting Android App Development, it is important to set up Android Studio, run the Emulator, connect a physical device, and understand the Project Structure well.
  • These build a strong foundation for you.
  • Once you understand these basics, designing the UI and implementing logic becomes very smooth.
1. Android Studio Setup (Install and Start)

Android Studio is Google's officially recommended IDE (Integrated Development Environment), which is the most essential and basic tool for creating Android apps.

 Installation Steps:

Step 1: Download Android Studio

  • Go to the website: https://developer.android.com/studio
  • Click on the download button according to your operating system (Windows, macOS, Linux).
Step 2: Run the Setup Wizard

  • Open the .exe or .dmg file and follow the installation wizard.
  • Let the SDK, Emulator, and Tools install with the default settings.
Step 3: Verify the Android SDK

  • Android Studio > Settings > Appearance & Behavior > System Settings > Android SDK
  • Here you will see the SDK Location and below that, the Android versions (API level).
Virtual Device Setup |  Running the Emulator:

  • An Emulator is a virtual Android phone that runs on your computer.
  • With this, we can run and test the app even without a mobile device.
 Steps to create an Emulator:

Step 1: Open AVD Manager

  • In Android Studio, click on the “AVD Manager” icon on the top Toolbar
  • (or Tools > Device Manager > Create Virtual Device)
Step 2: Choose a Device

  • Choose any device model (e.g., Pixel 4, Nexus 5X, etc.)
Step 3: Download a System Image

  • Download the system image of any Android version (e.g., Pie, Q, R, etc.)
Step 4: Run the Emulator

  • After creation, press the “Play” button
  • The Emulator will launch and you will see the Home Screen
 Add Physical Device | Running your phone via USB:

If the Emulator runs slowly or you want to test on a real device, you can connect your Android phone directly to Android Studio.

 Steps to set up the Mobile:

Step 1: Turn on Developer Options

  • Go to your phone:
  • Settings > About Phone > Build Number
  • Tap on it 7 times – you will see “You are now a developer!”
Step 2: Turn on USB Debugging

  • Now go to: Settings > System > Developer Options > Turn on USB Debugging
Step 3: Connect the Phone to the computer with a USB cable

  • As soon as you connect the phone, a popup will appear – “Allow USB Debugging” → Allow it
  • Now your device will start appearing in the run options in Android Studio
 Understanding the Android Project Structure:

When you create a new Project in Android Studio, some folders/files are generated automatically. It is very important to understand them.

 Android Project Structure:

MyFirstApp/
├── manifests/
│   └── AndroidManifest.xml
├── java/
│   └── com.example.myfirstapp/
│       └── MainActivity.java
├── res/
│   ├── layout/
│   │   └── activity_main.xml
│   ├── drawable/
│   ├── mipmap/
│   ├── values/
│   │   ├── strings.xml
│   │   └── colors.xml
├── build.gradle

 Important Files & Folders:

1. AndroidManifest.xml

  • It is the blueprint of the app
  • Components are declared here (Activity, Permissions, etc.)
2. java/

  • All your app's Java or Kotlin logic is here
  • MainActivity.java defines the first screen of your app
3. res/ (Resources)

  • UI files, images, icons, colors, strings are all here
Subfolders:

  • layout/ → XML UI files (like activity_main.xml)
  • drawable/ → Images/icons
  • mipmap/ → For the App icon
  • values/ → To keep Strings, Colors, Styles
4. build.gradle

Dependencies and SDK versions are defined here

There are two files:

  • Project level build.gradle
  • App level build.gradle