Changes

Jump to: navigation, search

Signing and Preparing an Android App for Release

437 bytes added, 21:10, 30 November 2017
no edit summary
== The Release 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 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.
While each of these tasks can be performed outside of the Android Studio environment, the procedures can more easily be performed using the Android Studio build mechanism as outlined in the remainder of this chapter.
The content of an APK file can be reviewed at any time by loading it into the Android Studio APK Analyzer tool.
 
 
<htmlet>as30kotlin</htmlet>
 
 
<hr>
<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>

Navigation menu