Before you're able to distribute your Android app, you need to sign the app and create a package file, or APK file for short. This involves entering your name and creating a password for the key store file. In this video, you'll learn about exporting a signed app package and the various factors you'll need to address before doing so.
…In order to distribute your app you'll need to create a signed package file.…It's an APK file which stands for Android Package…and it's a zip file that contains a signing certificate.…You can do all these tasks from the command line.…But Android Studio gives you a user interface that you can step through.…To use it make sure your project is open, then…go to the menu and select Build > Generate Signed APK.…In the current version of Android Studio, you'll…see this dialog box that has a link to…some documentation about how to create signing configurations…and how to use Gradle from the command line.…
But to do everything in Android Studio, just click OK.…And you'll go to this dialog labeled Generate Signed APK Wizard.…First, you'll need a key store file and you can create it right here.…Click Create New and then, fill in the New Key Store dialog.…First, indicate where you want to create the file.…I'm going to click the Browse button, and go to my Desktop folder.…And I'll create the file as mykeystore.…The standard file extension for these files in Android Studio is JKS.…
Note: This course was revised on 8/20/2014 to reflect changes in the .0.8.4 beta version of Android Studio.
- Exploring Android Studio and IntelliJ IDEA
- Installing Android Studio
- Creating projects with Android Studio
- Navigating the user interface
- Designing activity layouts
- Analyzing and refactoring code
- Debugging and packaging apps
Skill Level Beginner
Q: This course was updated on 8/20/2014. What changed?
A: We revised this course to reflect changes to the Android Studio beta, released at the 2014 Google I/O conference. This update was recorded with Android Studio .0.8.4, which contains a new project wizard and updates to the Gradle build system. For more information about the changes in this course, check out the "What's new in this update" movie.