How do I verify that an Android apk is signed with a release certificate?

Vadivelan picture Vadivelan · Aug 18, 2011 · Viewed 171.5k times · Source

How can I check that an Android apk is signed with a release and not debug cert?

Answer

Anass picture Anass · Aug 18, 2011

Use this command, (go to java < jdk < bin path in cmd prompt)

$ jarsigner -verify -verbose -certs my_application.apk

If you see "CN=Android Debug", this means the .apk was signed with the debug key generated by the Android SDK (means it is unsigned), otherwise you will find something for CN. For more details see: http://developer.android.com/guide/publishing/app-signing.html