Note this is for Windows another OS should be work too just change and adjust folder and the \ to / for Linux and Mac
For debug mode do this
keytool -list -v -alias androiddebugkey -keystore c:\Users\yourusername\.android\debug.keystore
if there was asking for password just type the default which is android
For release mode is:
keytool -importkeystore -srckeystore c:\Users\yourusername\keystore\upload-keystore.jks -destkeystore c:\Users\aisiv\keystore\upload-keystore.jks -deststoretype pkcs12
Please pay attention to the Folder you to change or create folder keystore
Type your password if asked
Then for release mode:
keytool -list -v -alias upload -keystore c:\Users\yourusername\keystore\upload-keystore.jks
Note, the file should be the same key that was generated previously, it points to the same key "upload-keystore.jks" for release mode
No comments:
Post a Comment