Failedtoread keykeyfromstore "D:\key.jks": java.io.IOException:ParseGeneralized time,invalid formart

android studio flutter 打包报错如下
Failedtoread keykeyfromstore "D:\key.jks": java.io.IOException:ParseGeneralized time,invalid formart
原因 看下面创建的时候 证书有有效期天数
Failedtoread keykeyfromstore "D:\key.jks": java.io.IOException:ParseGeneralized time,invalid formart
这里是1000万天 27397年
在们在创建证书的时候100年就够用了 不用把这个值设置太大 问题就解决了 30000多天足够了
google 原问题解答是:
就是值太大了

You get this exception when you specified too big value for validity. Keytool does not do a great job on input validation when creating the keys and then it is not able to read the generated keystore. It is better to keep a backup from the keystore.