Android Studio Basics

Murat Yener, Onur Dundar · 2016

This chapter presents a basic overview of the whole Android Studio project structure, Gradle, and Android Debug Bridge (ADB). It shows how to create and configure virtual Android devices using an emulator and how to run the applications using ADB. The chapter also covers how to migrate Eclipse ADT-based Android projects to new Android Studio-based Gradle projects. It focuses on one file that is very trivial for an Android application, the AndroidManifest.xml file. The Android manifest holds metadata from the list of activities, services, application name and version, target and minimum SDK requirements, and hardware requirements for the target devices, as well as the permissions that the app requires. Android Studio offers different ways to compile and run projects. Android Emulator enables the computer to emulate Android hardware and operating system to run the apps and provide a preview of how it would behave on a real device.

Read the paper · More papers on PaperTik