From the course: Distributing Your Android App for Kotlin Developers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Manage the app version - Android Tutorial
From the course: Distributing Your Android App for Kotlin Developers
Manage the app version
- [Instructor] The version for your application is another important thing to make sure is configured correctly before you package it up. Let me close some of the Windows and files I have opened, clean up the view here. This is managed within the build.gradle file for the base module in your app. If you only have one module in your app, then that is the base module. In the Gradle Scripts section, let's open up the build.gradle file for the app module. In Android, default config, you can see it a line for version code and version name. By default, when you create an Android project, this will be set to one for the version code and 1.0 for the version name. The version code is always an integer and will need to be incremented every time you want to publish a new version. This is actually the fifth time it has been compiled and shared with others. There are a few bugs I had to fix the first time around. So I will…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Explore the sample app2m 41s
-
(Locked)
Clean up your code5m 53s
-
(Locked)
Manage the app version3m 8s
-
(Locked)
Minify the app with R82m 40s
-
(Locked)
Configure build types2m 40s
-
(Locked)
Configure multiple app flavors6m 30s
-
(Locked)
Create build variants4m 29s
-
(Locked)
Build signed packages8m 10s
-
-
-
-
-