I lost my Keystore file

asked 2021-11-10T14:48:17.933+00:00
Mohanasundharam Murugan 1 Reputation point

I got support from Google Play Console. I have generated the .jks & .pem file and sent the .pem file to the support team. They've updated everything as per the .pem file. But, Now i don't know how to generate apk from Visual Studio by using JKS or PEM files. Because I suspect the Visual Studio only supports the .keystore files to generate the apk.

Kindly help me to recover this issue.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2021-11-11T07:04:18.357+00:00
    Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,081 Reputation points Microsoft Employee

    Hello,​

    Welcome to our Microsoft Q&A platform!

    I cannot find way to generate the APK file by using JKS or PEM files in the Visual Studio. If you cannot find the .keystore files that generate by VS, you can find it by following path.(The AppData folder is hidden by default and you may need to unhide it to access it.)

       The resulting keystore resides in the following location:  
         
       C:\Users\USERNAME\AppData\Local\Xamarin\Mono for Android\Keystore\ALIAS\ALIAS.keystore  
         
       For example, using chimp as the alias, the above steps would create a new signing key in the following location:  
         
       C:\Users\USERNAME\AppData\Local\Xamarin\Mono for Android\Keystore\chimp\chimp.keystore  
    

    Here is a article about it.

    https://learn.microsoft.com/en-us/xamarin/android/deploy-test/signing/?tabs=windows#create-a-new-certificate

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    No comments

  2. answered 2021-12-01T18:35:21.88+00:00
    Sylendra JR 1 Reputation point

    @Mohanasundharam Murugan Did you able to generate apk using the .jks file ? I'm also facing the same issue.

    No comments