Search code examples
c#androidxamarinmauikeystore

Issue when creating Android keystore MAUI C#


I can publish my app for Android from Visual Studio, but when I'm creating the Android keystore to sign it, I get the error on the screenshot.

Keystore error

I can't see the full description, neither know how to see the logs.

By the way, to publish and sign, I'm following this guide: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-google-play

Any idea how can I start troubleshooting this?


Solution

  • Yes, read this here: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli from start to end.

    Then do this: https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli#create-a-keystore-file, and post the error you get, if any.

    If you have a working JDK (Java Development Kit) on some machine, you can use its keytool, even without Visual Studio.

    (I am almost 100% sure that this is complaining about certificate chain)