background
I ran an app recently, and the version of Android Studio was a bit low, so I upgraded and reinstalled it, and the result was an error
com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store “C:\Users\Admin\.android\debug.keystore”: Invalid keystore format
Solution
Find C:\Users\Admin\.android\debug.keystore
the file and copy it back up first, delete it debug.keystore
and restart Android Studio, C:\Users\Admin\.android
there may be several lock files below, you can also take the same operation, each user's path may be different Enter in the file explorer %USERPROFILE%/.android
to find .android
the path directly