Before you export your app to an APK for distribution, you should check its version. There are two version values and they're both stored in the build.gradle file for the app module. The version code is the internal version. It's always an integer and has to be incremented each time you uploaded a new APK. The version name is an arbitrary string that the user sees and can be set to anything.
- [Instructor] The version for your application…will need to be configured before you can package…it up as an APK and publish it.…This is managed within the build.gradle file…for each module within your project.…Let's clean up our workspace a little bit first.…And then in the Gradle Scripts section…of your project outline on the left,…open up the build.gradle file for the app module.…Within Android default config,…you can see a line for version code and version name.…
By default, when you create an Android project,…this will be set to 1 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.…We will leave this at 1 in the sample project,…but if we were to make changes after it has been published,…we will need to change it to two…before we can publish that update.…The version name is the text shown to the user…and can be anything you want it to be.…
I'll leave this at 1.0 to indicate that it is…the first major version of this application…
- Exploring the distribution options
- Cleaning up your code
- Building a signed APK file
- Configuring build types and variants
- Distributing through Google Play
- Adding app graphics
- Setting pricing
- Publishing the app in Google Play
- Submitting an app to Amazon
- Tracking app use in Google Play and Amazon
Skill Level Beginner
AutoCAD Plant 3D Essential Training: Adminwith Irene Radcliffe5h 21m Intermediate
1. Know Your Distribution Options
2. Package an App for Distribution
3. Distribute through the Google Play Store
4. Distribute through Amazon
5. Track an App's Usage
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.