Book Image

Android Studio 2 Essentials - Second Edition

By : Belén Cruz Zapata
Book Image

Android Studio 2 Essentials - Second Edition

By: Belén Cruz Zapata

Overview of this book

Android Studio 2, the official IDE for Android application development, dramatically improves your workflow by letting you quickly see changes running on your device or emulator. It gives developers a unique platform by making app builds and deployment faster. This book will get you up and running with all the essential features of Android Studio 2 to optimize your development workflow. Starting off with the basic installation and configuration of Android Studio 2, this book will help you build a new project by showing you how to create a custom launcher icon and guiding you to choose your project. You will then gain an insight into the additional tools provided in Android Studio, namely the Software Development Kit (SDK) Manager, Android Virtual Device (AVD) Manager, and Javadoc. You’ll also see how to integrate Google Play Services in an Android project. Finally, you’ll become familiar with the Help section in Android Studio, which will enable you to search for support you might require in different scenarios.
Table of Contents (17 chapters)
Android Studio 2 Essentials Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Steps prior to releasing your app


Before you generate the APK file, it is necessary to prepare your application to build it in release mode. Perform the following steps:

  1. Firstly, make sure you have completely tested your application. We recommend testing your application in the following ways:

    • On a device using the minimum required platform

    • On a device using the target platform

    • On a device using the latest available platform

    • On a real device and not just the emulator

    • On a variety of screen resolutions and sizes

    • On a tablet if your application supports it

    • By switching to landscape mode if you allow it, both in a mobile device and in a tablet

    • On different network conditions, such as with no Internet connectivity or low coverage

    • When the GPS or other location service is not activated on your device (if your application uses GPS or any location service)

    • When the back button is pressed

  2. Secondly, we have to check the log messages that are printed from our application. Printing some log messages can be considered...