Yesterday I published my app in Play Store. All went well till today. When I try to install my app from Play Store, it downloads it but when installing it it says:
\
As @mladen-gavrić comment his own question, downgrade to java JDK
version 1.6.
solves the issue.
SE with $ java -v
with version is currently running which will output something like the following:
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
See this excellent answer how to downgrade with the JDK 1.6.
already installed previously: https://stackoverflow.com/a/24657630/2797243
Older Android devices are unable to recognize SHA256 hash funcitons. Adding:
-sigalg SHA1withRSA -digestalg SHA1
as parameters to jarsigner should solve the issue even when using JDK 1.8.