Android Jar signing in Java7

o2-slate-02-lg-_v389395147

 

The upgrade from Java6 to Java7 over the weekend was always going to cause me some headaches. One of them seems to be signing jar files to install on Android. On closer inspection Android doesn’t really support Java7.

So, the jarsigner needs a little tweaking in order for it to work:

jarsigner -verbose  -sigalg MD5withRSA -digestalg SHA1 -keystore [keystorename] [nameofapk.apk] [username]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: