Search code examples
visual-studioxamarin.androidvisual-studio-2017keytool

Can't import existing keystore to Visual Studio 2017


I am having trouble importing an existing keystore to Visual Studio 2017 (15.7.2) in order to sign my Xamarin.Android application.

I switched machines, so I had to do a fresh VS installation. I have successfully created an archive, but I can't get my old keystore imported into VS. No matter what I try, I get the same cryptic error. I can sign the APK manually with the keytool, so it's not about a wrong password.


Solution

  • From this path in your old machine Copy the folder Keystore in the same path in your new machine: %LOCALAPPDATA%\Xamarin\Mono for Android