Android Studio for beginners

Android Studio for beginners, Part 1: Installation and setup

Install Android Studio and start your first Android project. Updated February 2019

1 2 Page 2
Page 2 of 2
  • manifests stores AndroidManifest.xml, which is an XML file that describes the structure of an Android app. This file also records permission settings (where applicable) and other details about the app.
  • java stores an app's Java source files according to a package hierarchy, which is ca.javajeff.w2a in this example. It also organizes files for testing purposes.
  • res stores an app's resource files, which are organized into drawable, layout, mipmap, and values subbranches:
    • drawable is a mostly empty location in which to store an app's artwork; initially, the XML files for the launcher foreground and background adaptive icons are stored here.
    • layout is a location containing an app's layout files; main.xml (the main activity's layout file) is initially stored here.
    • mipmap is a location containing various ic_launcher.png files, which store launcher screen icons of different resolutions.
    • values is a location containing colors.xml, strings.xml, and styles.xml.

The Gradle Scripts branch identifies various .gradle (such as build.gradle) and .properties (such as local.properties) files that are used by Android Studio's Gradle-based build system.

Conclusion to Part 1

You've installed and configured Android Studio and created a project for your first Android Studio mobile app; now you're ready to build your Android application. In Android Studio, this means populating your new project with Java source code and resource files. Turn to Part 2 when you're ready to code your first Android animated mobile app.

1 2 Page 2
Page 2 of 2