When downloading the apk file to Google Play, an error appears: "Failed to load. Could not recognize the file." error screenshot

If you run the command

jarsigner -verify -verbose app-release.apk 

then comes the following:

jar verified.

Warning: This jar contains entries. This jar contains signatures that do not include a timestamp. Signing certificate after expiration date (2026-02-21) or after any future revocation date.

Re-run with the -verbose and -certs options for more details.

So what am I doing wrong?

  • And you signed it with your key? - Vasily Yermilov
  • yes the key used its. in Android Studio -build-generate signed apk ... indicated the existing key. - vaszol
  • I figured out the problem of the certificate, another apk file signed by him was successfully adopted in the Developer Console. So the problem remains with the APK file of this application itself. - vaszol
  • Now I decided to start the application from the beginning, gradually adding functionality to understand why it was not accepted. so now, it has already turned out to sign and place my trimmed application, for alpha test. - vaszol

1 answer 1

Break your code and turning over several places the application was taken by the developer console. The problem was due to the use of the vector application icon, although gradle created png copies. I had to copy the generated images to the mipmap directories - *** dpi.