Get Android KeyStore Password Saved in Visual Studio 2019

Séb Carré (Glanum) 21 Reputation points
2021-09-23T08:52:20.997+00:00

Hello everyone !

How can I get the password saved in Visual Studio for my Android KeyStore ? Where is the location on Windows ?

I don't remember the password and I need to save it safely in case that the password would disappear after an update or anything like that.

Thank you in advance for your time !

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

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
    2021-09-24T06:16:24.073+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    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

    Important

    The AppData folder is hidden by default and you may need to unhide it to access it.

    In addition, be sure to back up the resulting keystore file and password in a safe place – it is not included in the Solution. If you lose your keystore file (for example, because you moved to another computer or reinstalled Windows), you will be unable to sign your app with the same certificate as previous versions.

    For more information, please see this thread:
    https://learn.microsoft.com/en-us/xamarin/android/deploy-test/signing/

    Best Regards,

    Leon Lu


    If the response is helpful, please click "Accept Answer" and upvote it.

    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.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. MohamedAbofanas 91 Reputation points
    2021-09-23T11:12:11.467+00:00

    Hi, This video may help you: https://youtu.be/MlzniEeJYzg

    0 comments No comments