Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Studio - Packaging error - "jarsigner.exe" exited with code 1. (MSB6006)

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.

like image 763
Emillium Avatar asked Sep 10 '14 14:09

Emillium


2 Answers

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:

enter image description here

like image 171
Mohammad Riyaz Avatar answered Sep 27 '22 19:09

Mohammad Riyaz


In my case the .csproj had incorrect path to the keystore file.

Look for AndroidSigningKeyStore tag in .csproj and correct the path.

like image 38
Gautam Jain Avatar answered Sep 27 '22 19:09

Gautam Jain