Getting INSTALL_PARSE_FAILED_NO_CERTIFICATES when installing Android application compiled with JDK 7

You might get INSTALL_PARSE_FAILED_NO_CERTIFICATES error when installing Android application compiled with JDK 7. You can use the following small tip to get it fixed:

  1. Open your <ANDROID-SDK>/tools/ant/build.xml file
  2. Find the task named -release-sign
  3. Add the following two attributes into signjar tag: sigalg=”MD5withRSA” digestalg=”SHA1″

You can read more details in the Android issue tracker: issue 19567