Changes

Signing and Preparing an Android App for Release

437 bytes added, 21:10, 30 November 2017
no edit summary
<table border="0" cellspacing="0" width="100%"><tr>
<td width="20%">[[Handling Different Android Devices and Displays in Kotlin|Previous]]<td align="center">[[Kotlin / Android Studio Development Essentials|Table of Contents]]<td width="20%" align="right"></td>
<tr>
<td width="20%">Handling Different Android Devices and Displays in Kotlin<td align="center"><td width="20%" align="right"></td>
</table>
<hr>
 
 
<htmlet>as30kotlin</htmlet>
 
 
Once the development work on an Android application is complete and it has been tested on a wide range of Android devices, the next step is to prepare the application for submission to the Google Play App Store. Before submission can take place, however, the application must be packaged for release and signed with a private key. This chapter will work through the steps involved in obtaining a private key and preparing the application package for release.
== The Release Preparation Preparation Process ==
Up until this point in the book, we have been building application projects in a mode suitable for testing and debugging. Building an application package for release to customers via the Google Play store, on the other hand, requires that some additional steps be taken. The first requirement is that the application be compiled in release mode instead of debug mode. Secondly, the application must be signed with a private key that uniquely identifies you as the application’s developer. Finally, the application package must be aligned. This is simply a process by which some data files in the application package are formatted with a certain byte alignment to improve performance.