I am attempting to build and deploy a debug version of my Xamarin Android application to an Android emulator. However I get the following error when trying to run the app in the emulator:
"C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error MSB6006: "jarsigner.exe" exited with code 1. (MSB6006) (TestApp)
The strange detail is that I was able to build and deploy the same app with no issues yesterday. This error only appeared today. There have been no code changes in the project - so a code change has not caused the problem.
I would appreciate any help from the SO community.
This is an old thread but I'm sure this will help someone else:
I've had the same issue while trying to deploy an app using Release
mode. I resolved it by performing the following step:
In my case the .csproj had incorrect path to the keystore file.
Look for AndroidSigningKeyStore tag in .csproj and correct the path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With