Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change sign-apk to work with JDK 7

The -sigalg and -digestalg arguments for jarsigner need to be explicitly
set to MD5withRSA and SHA1 respectively in order for signing to work
when using JDK 7.

See
http://developer.android.com/tools/publishing/app-signing.html#signapp
  • Loading branch information...
commit 9dce23d1db4ddd71427f710199de4d279ae53aad 1 parent 7405629
Patrick Burke authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/leiningen/droid/build.clj
View
2  src/leiningen/droid/build.clj
@@ -163,6 +163,8 @@
(create-debug-keystore keystore-path))
(ensure-paths unaligned-path keystore-path)
(sh "jarsigner"
+ "-sigalg" "MD5withRSA"
+ "-digestalg" "SHA1"
"-keystore" keystore-path
"-storepass" storepass
"-keypass" keypass
Please sign in to comment.
Something went wrong with that request. Please try again.