Skip to main content

Posts

Showing posts from September, 2012

The Thing About JDK1.7 in Android Development

I'm sure that everyone has been starting to use JDK1.7 for Android development. As you upgrade from JDK1.6 to JDK1.7, there is a slight change in terms of generating an MD5 fingerprint of your debug keystore or production keystore using the keytool in the command line. Normally you would do this is JDK6: keytool -list -alias alias_name -keystore my-release-key.keystore This directly gives you the MD5 fingerprint of your keystore. But in JDK1.7 that's not the case, because this command gives you the SHA1 fingerprint instead. To solve this problem, be sure to add a -v: keytool -list -v -alias alias_name -keystore my-release-key.keystore This gives you three types of fingerprints.