Home Forum
Welcome, Guest
Username Password: Remember me

Signing an Android app
(1 viewing) (1) Guest
Discussion related to creating Android software
  • Page:
  • 1

TOPIC: Signing an Android app

Signing an Android app 3 years, 2 months ago #136

First, and you do this just once, create a keystore
"%JAVA_HOME%/bin/keytool" -genkey -v -keystore mykeystore.keystore 
-alias mykeystore -keyalg RSA -validity 10000

Answer all the questions about your name, organization and location
Then build your apk and sign it like this
"%JAVA_HOME%/bin/jarsigner" -verbose 
-keystore mykeystore.keystore MyAndroidApp.apk mykeystore

You'll be asked for the password you first supplied each time.
you can then install your app on the Android emulator
adb install "<path_to>MyAndroidApp.apk"
Last Edit: 3 years, 2 months ago by bill.damage.
  • Page:
  • 1
Time to create page: 0.35 seconds
Copyright © 2012 Android Academy. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
 
Glossary
We have 37 guests online