• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Apps crash with “Certificate expiredCertificate expired”

My apps started to crash, when I try to run them on either Virtual Device or a phone with the following exception:

2019-10-31 10:37:35.765 11784-11784/ru.multicarta.TestStand E/ad: Certificate expiredCertificate expired at Sat Aug 24 22:42:55 GMT+03:00 2019 (compared to Thu Oct 31 10:37:35 GMT+03:00 2019)
2019-10-31 10:37:35.765 11784-11784/ru.multicarta.TestStand E/ef: Bundled certificate is not valid
com.android.org.conscrypt.OpenSSLX509CertificateFactory$ParsingException: inStream == null



I understand that something is wrong with the expiration of the certificate, that signs my app, but I can't do anything about it.

I couldn't find any information about this error in Google.

I tried to use a new keystore, I completely removed signingConfig from Gradle settings, I renamed the package, I removed debug.keystore file.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones