Xamarin Studio - Packaging Error - "jarsigner.exe" completed with code 1. (MSB6006)

I am trying to create and deploy a debug version of my Xamarin Android application for Android emulator. However, when I try to run the application in the emulator, I get the following error:

"C: \ Program Files (x86) \ MSBuild \ Xamarin \ Android \ Xamarin.Android.Common.targets (2,2): Error MSB6006:" jarsigner.exe "completed with code 1. (MSB6006) (TestApp)

The strange part is that I was able to build and deploy the same application without problems yesterday. This error appeared only today. There were no code changes in the project, so changing the code did not cause a problem.

I would appreciate any help from the SO community.

+5
source share
7 answers

This is an old thread, but I'm sure this will help someone else:

I had the same problem when trying to deploy the application using mode Release. I resolved it by following the next step:

enter image description here

+5
source

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

Find the AndroidSigningKeyStore tag in .csproj and correct the path.

+5
source

Java SDK. JDK. , Xamarin Studio, JDK. XStudio reset . , JDK.

+2

( Xamarin Studio), , , , .

.

+2

, , : Xamarin Studio. .

0

, , , , , VS 2017. java x64 - C:\Program Files\Java\jdk1.8.0_152
xamarin - Xamarin.Forms.2.4.0.38779
, java debug keystore AppData\Local\Xamarin\Mono . , , , , !

AppData\Local\Xamarin Mono, .
, !!!

0
source

In my case, I had the wrong alias. Somehow, the alias was lowercase, and the keystore name contained uppercase letters.

0
source

All Articles