O'Reilly logo

Mobile DevOps by Jhalak Modi, Rohin Tak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating your own Keystore

The first step is to create your own personal Keystore that will contain the information used to digitally sign your Android package files. You can do this with the following command:

"C:Program Files (x86)Javajre1.8.0_45binkeytool.exe" -genkey -v -keystore youFileName.keystore" -alias your_alias_for_keystore -keyalg RSA -keysize 2048 -validity 30000

The 30000 at the end of the command denotes the length of validity of certificates; Google requires this to be higher than 2033.

Before you run this command, make note of a few parameters first. When you run the command, it will ask you to enter the following parameters. These parameters will be used again later in the project file:

Password -  <yourpassword>
Name - ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required