How to sign flutter app with new keystore file

  Kiến thức lập trình

I Lost my old keystore and now i created a new one. When trying to sign the app with the new key, i get an error saying “keystore was tampered with, or password was incorrect”. The password is correct.

How can I sign the app with the new key without getting the error

Useless details if you wanna know how i got here:
Old laptop no longer working, got a new one and cloned the repo from my github. The key was long ago saved to mediafire and so i downloaded it and tried signing the app with it and got the same error, hence i decided to create a new key and now Im still getting the same error with the new key.