Reputation: 85
I'm getting "jarsigner.exe" exited with code 1 and I have to change the keystore location for which I don't know how to change in xamarin form in Windows bcoz I copied this project from MAC to Windows and I had a problem in PROGUARD as java.exe exited with error code 1 so I disabled PROGUARD and now jarsigner.exe error
1>C:\Program Files\Java\jdk1.8.0_131\\bin\jarsigner.exe -keystore "/Users/ekambaram/Desktop/CYBER/App Store - Cyb/Cyber Certifcate/my-release-key.keystore" -storepass 098765 -keypass 098765 -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Debug\\com.Cyber.Cyber-Signed-Unaligned.apk E:\CyberPortable\CyberPortable\CyberPortable.Droid\obj\Debug\android\bin\com.Cyber.Cyber.apk Cyber
1>"jarsigner.exe" exited with code 1.
1>Done building project "CyberPortable.Droid.csproj" -- FAILED.
1>Build FAILED.
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Upvotes: 4
Views: 4328
Reputation: 2119
0) Open your Android project Options
1) Select Android Package Signing
2) Select configuration, that your trying to build
3) Check "Sign the .APK ..."
4) Select my-release-key.keystore file on your windows machine, you can copy it from your mac
Upvotes: 4