Visual Studio 2022 Xamarin android. Failing to archive

Gregg Lanzing 1 Reputation point
2022-05-31T19:38:09.133+00:00

I have a xamarin app that I have archived and distributed (privately) for over a year. All of a sudden now I am getting this error:

XA4314: $(AndroidSigningKeyPass) is empty. A value for $(AndroidSigningKeyPass) should be provided.
Done building project "VeeMAC_Mobile.Android.csproj" -- FAILED.
Build FAILED.

Under the 'Android Package Signing' options I have a keystore and keystore password entered. Can anyone point me in the right direction on this one?

Thanks

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

1 answer

Sort by: Most helpful
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
    2022-06-01T06:38:18.64+00:00

    Hello,

    I've reproduced and tested your issue.

    In the 'Android Package Signing' options, the default Configuration is release.

    Did you run your application in Debug mode? If so, please change the run mode to Release or turn Configuration to debug.

    Best Regards,

    Alec Liu.


    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.