Closed waynedyck closed 8 years ago
The signature algorithms for jarsigner
changed in JDK 7. The default algorithms have been bumped to SHA-256 and SHA256withRSA respectively, and are not supported on Android.
https://docs.oracle.com/javase/7/docs/technotes/tools/windows/jarsigner.html#sthref13
Based on this answer from stackoverflow, the solution is to add the following to the <configuration>
of the maven-jarsigner-plugin:
<arguments>
<argument>-sigalg</argument><argument>SHA1withRSA</argument>
<argument>-digestalg</argument><argument>SHA1</argument>
</arguments>
The updated argument for -sigalg
comes from the Android developer docs on signing your app manually.
"WSDOT" can't be installed. Try again, and if the problem continues, get help troubleshooting. (Error code: -103)