From the course: Distributing Your Android App for Kotlin Developers

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Build signed packages

Build signed packages - Android Tutorial

From the course: Distributing Your Android App for Kotlin Developers

Start my 1-month free trial

Build signed packages

- [Instructor] Now that you've cleaned up the code configured the version information and set up code shrinking. This time to package up your application for release. Even though an APK is generated every time you run your application for debugging, this APK cannot be used to publish your application to either the Google play store or Amazon app store and should not be shared outside of that. This is primarily because the self-signed certificate use to sign it has an expiration date of 365 days from its creation date. This means the application will not run after this time. It will just stop. Android studio makes signing the release build for your application rather easy. So let's go back to our project in Android studio, open the build menu and select generate signed bundle slash APK. A window will pop up and ask you what kind of package to create, an app bundle in AAB file or an APK. We will want to create both. So I…

Contents