Guozhen AIGlobal AI field notes and model intelligence

English translation

Setting Up the Development Environment: Installing Android Studio

Published:

Category: Android Development

Read time: 3 min

Reads: 0

Lesson #4Views are counted together with the original Chinese articleImages are preserved from the source page

AI Article Decision Snapshot

Turn the lesson into workflow, model, budget, and security checks before choosing tools.

Use this quick snapshot before leaving the article. It keeps the next search tied to practical AI software, model/API, cost, privacy, and implementation questions.

Workflow fit

Identify the real job behind the article: coding, research, document review, support, analytics, content, or internal automation.

Model or tool decision

Decide whether the next step is a software shortlist, an AI tool comparison, an API platform choice, or a model benchmark.

Budget and usage signal

Estimate seats, API calls, prompt volume, retries, review time, and fallback work before assuming the workflow is cheap.

Security and privacy review

Check whether source code, customer data, private documents, prompts, logs, or embeddings will enter the AI workflow.

In the previous chapter, we introduced the fundamental workflow of Android app development and clarified the steps and key components involved in building an Android application. In this chapter, we will delve into setting up the development environment—specifically, installing Android Studio, the official Integrated Development Environment (IDE) for Android development.

1. Downloading Android Studio

First, visit the official Android Studio download page:

Download Android Studio

Select and download the version compatible with your operating system. Android Studio supports major platforms including Windows, macOS, and Linux.

2. Installing Android Studio

After downloading, proceed with installation. Below are the platform-specific installation steps:

2.1 Windows

  1. Double-click the downloaded .exe file to launch the installer.
  2. In the setup wizard, click Next.
  3. Choose an installation directory—using the default path is recommended—then click Next.
  4. On the component selection screen, ensure Android Virtual Device is checked, then click Next.
  5. Click Install to begin installation. This process may take several minutes—please wait patiently.
  6. Upon completion, click Finish to exit the installer, then launch Android Studio.

2.2 macOS

  1. Open the downloaded .dmg file and drag Android Studio into the Applications folder.
  2. Launch Android Studio from the Applications folder.
  3. On first launch, you’ll be prompted to import previous settings—select Do not import settings.
  4. Continue clicking Next until the setup wizard completes.

2.3 Linux

  1. Extract the downloaded .zip file to your preferred directory.
  2. In a terminal, navigate to the extracted android-studio/bin directory.
  3. Run the following command to launch Android Studio:
    ./studio.sh
    
  4. Follow the on-screen instructions in the setup wizard.

3. Launching Android Studio

After installation, launch Android Studio either via its desktop icon or command line. On first launch, Android Studio performs initial configuration—including downloading essential components. The following steps occur automatically:

  1. Select UI Theme: Choose between Light or Darcula.
  2. Install SDK Components: By default, Android Studio prompts you to install the Android SDK and required SDK components—click Next to proceed.
  3. Configure Project Location: Accept the default project directory or specify a custom one, then click Finish.

At this point, you’ll arrive at Android Studio’s main interface—your development environment is now successfully set up.

4. Mini Exercise: Creating Your First Android Project

Let’s create a simple Android project to verify that your newly installed Android Studio is functioning correctly.

  1. From Android Studio’s welcome screen, click Start a new Android Studio project.
  2. Select the Empty Activity template, then click Next.
  3. Set the project name to MyFirstApp, the package name to com.example.myfirstapp, choose a save location, and click Finish.
  4. In MainActivity.java, add the following code:
    package com.example.myfirstapp;
    
    import android.os.Bundle;
    import android.widget.TextView;
    import androidx.appcompat.app.AppCompatActivity;
    
    public class MainActivity extends AppCompatActivity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            TextView textView = new TextView(this);
            textView.setText("Hello, World!");
            setContentView(textView);
        }
    }
    
  5. Click the Run button (▶), then select either a connected physical device or an emulator—the app MyFirstApp will be built and launched.

With this minimal code, your first Android app is complete—it displays the classic “Hello, World!” message.

Summary

In this chapter, we walked through downloading and installing Android Studio, and created a simple Android project to validate the setup. This establishes a solid foundation for future development work. In the next chapter, we’ll configure the Android SDK, preparing the environment for more advanced development tasks.

By mastering these fundamentals, you’ll gain confidence in Android app development—and we look forward to seeing you again in the next chapter!

Apply This Lesson

Turn this article into AI software, model, API, and security decisions.

English Article FAQ

Use this article as evidence before choosing AI tools

How should I use this AI Tutorials article?

Use it as the implementation or learning layer, then connect the idea to AI software buyer guides, tool comparisons, benchmarks, API choices, and security checks before making a production decision.

Is this English article different from the Chinese original?

The English edition is localized for global AI readers while preserving the original diagrams, screenshots, prompts, code examples, and source context from the Chinese article.

What should I read after Setting Up the Development Environment: Installing Android Studio?

Continue with AI Software Buyer Guides, AI Tools Workbench, Best AI Coding Agents, AI Model Benchmarks, OpenAI vs Anthropic API, or LLM Security Tools depending on the decision you need to make.

Can this article alone choose an AI product or model?

No. Treat the article as evidence and context, then validate fit with pricing, privacy requirements, integration effort, benchmark results, workflow tests, and fallback planning.

Continue

Keep reading from here

Browse English site

Reader Messages

Reader messages

Questions, corrections, extra sources, or hands-on results can be left here. No login is required.

Max 800 characters

To reduce spam, each message is checked for length, link count, and posting frequency.

0/800

Messages

0 messages
Loading messages...