Search code examples
androidxamarinvisual-studio-mac

Visual Studio crashes when creating new keystore


I'm trying to sign my Xamarin App in Visual Studio, acoording to https://learn.microsoft.com/pt-br/xamarin/android/deploy-test/signing/?tabs=macos

When I try to create a new keystore, I fill the form and click ok, but the new keystore is not created. The list remains empty.

Any ideas on how to fix that?

I would expect the following to happen:

The resulting keystore resides in the following location:

~/Library/Developer/Xamarin/Keystore/alias/alias.keystore

For example, the above steps might create a new signing key in the > following location:

~/Library/Developer/Xamarin/Keystore/chimp/chimp.keystore

But I dont even have this path "~/Library/Developer/Xamarin/Keystore/" created


Solution

  • I'd guess, you may need to replace Developer with your actual username

    and most likely also unhide the ~/Library folder, which is hidden by default.

    Screenshot

    Image Source: macworld.com