You are here
Home > HelloWorld >

Working With Android Studio

Android Studio is the official integrated development environment (IDE) for Google’s Android operating system, built on JetBrains’ IntelliJ IDEA software and designed specifically for Android development.It is available for download on Windows, macOS and Linux based operating systems.

Android Studio

Contents

Android App Module

It Provides a container for your app’s source code, resource files, and app level settings such as the module-level build file and Android Manifest file. When you create a new project, the default module name is “app”.In the Create New Module window, Android Studio offers the following types of app modules:

  • Phone & Tablet Module
  • Wear OS Module
  • Android TV Module
  • Glass Module
AppModule

Project Files:

Within each Android app module, files are shown in the following groups:

  • manifests:Contains the AndroidManifest.xml file.
  • java:Contains the Java source code files, separated by package names, including JUnit test code.
  • res: Contains all non-code resources, such as XML layouts, UI strings, and bitmap images, divided into corresponding sub-directories.

Project View:

When you select Project view, you can see a lot more files and directories. The most important of which are the following:

  • build: Contains build outputs.
  • libs:Contains private libraries.
  • src: Contains all code and resource files for the module in the following subdirectories:
    • androidTest:Contains code for instrumentation tests that run on an Android device.
    • main:Contains the “main” sourceset files: the Android code and resources shared by all build variants.
    • AndroidManifest.xml:Describes the nature of the application and each of its components.
    • java:Contains Java code sources.

Leave a Reply

Top