Pages

Wednesday, January 29, 2014

Android: Create an Android Application Package(apk) file

An android application package(apk) file is used to distribute and install software in android operating system. These are the following steps for creating an apk file.

 Select the project in Package Explorer. Right click the project and click Export
In the export window, select Export Android Application. Click Next
Select the project to export and click Next.
In Keystore selection choose either Use existing keystore or Create new keystore. Here I choose create new keystore. Choose a location where you want to store the file. Enter password(give any password) and click Next.
In key creation, enter Alias name, passwords, validity years and firstname lastnames which are mandatory fields. Rest of the fields are optional. Click Next.
In destination for apk file choose an appropriate location where you want to store the apk file. Click Finish.
If the apk is created successfully the new keystore status and certificate finger prints will be displayed in console tab in eclipse.

 Finally make sure the apk file is created and saved successfully in the location specified.

No comments:

Post a Comment