0

I am trying to create a keystore in Visual studio for android xamarin app

When i create a new keystore, it gets added, but without an expiration date or a SHA certificate. (Refer the test app below) enter image description here

enter image description here

Previously, when I used to do it, the SHA certificate was included in the keystore. enter image description here

Am i missing something? Without the certificate, I am not able to upload the generated apk on Google play.

Marcus25
  • 863
  • 1
  • 15
  • 31

1 Answers1

1

You can check this article about Manually Signing the APK to create a New Keystore.

Creating a new keystore requires the command line tool keytool from the Java SDK. The following snippet is an example of how to use keytool:

"C:\Program Files (x86)\Java\jdk1.7.0_55\bin\keytool.exe" -genkeypair -v -keystore <filename>.keystore -alias <key-name> -keyalg RSA -keysize 2048 -validity 10000
Guangyu Bai - MSFT
  • 2,555
  • 1
  • 2
  • 8
  • 1
    Thank you... But though the certificate was not visible on Visual studio, and i checked it with Cmd prompt - *** COMMAND TO EXTRACT SHA CERTIFICATE FROM KEYSTORE *** keytool.exe -list -v -keystore "C:\test.keystore" -alias Test-storepass Test -keypass Test . The certificate was present , and was the same as the uploaded apk. So, I was able to upload the new apk to Google play – Marcus25 Mar 10 '23 at 05:59