'Failed to read key AndroidDebugKey from store "C:\Users\user\.android\debug.keystore": Integrity check failed in flutter

I just opened flutter default app and ran the code. It showed this error. I am not able to understand what needs to be done. enter image description here



Solution 1:[1]

Delete any old Debug key and create a new one. run this code to create a new debug key.

keytool -list -v -keystore "C:\Users\yourusernamehere\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 monzim