Skip to content
Search

Keytool

lastmod 2020-08-04created 2020-08-043 edits

Example

Creating an Android Keystore

Files such as debug.keystore, which must be created when uploading to a device, are created as follows.

$ keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -deststoretype pkcs12

Place it in the %USERPROFILE%\.android\ or ~/.android/ directory.

See also

Favorite site

author Zer0 sitemap