Building the publishable APK file

What we are doing in this section is preparing the file that we will upload to Google Play. The format of the file we will create is .apk. This type of file is often referred to as an APK. The actual contents of this file are the compiled class files, all the resources that we've added, and the files and resources that Android Studio has autogenerated. We don't need to concern ourselves with the details, as we just need to follow these steps.

The steps not only create the APK, but they also create a key and sign your app with the key. This process is required and it also protects the ownership of your app:

Note

Note that this is not the same thing as copy protection/digital rights management.

  1. In Android Studio, open ...

Get Android Programming for Beginners now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.