Solve the problem of com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store

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

insert image description here

Solution

Find C:\Users\Admin\.android\debug.keystorethe file and copy it back up first, delete it debug.keystoreand restart Android Studio, C:\Users\Admin\.androidthere 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%/.androidto find .androidthe path directly

reference

https://blog.csdn.net/MacaoPark/article/details/125124234

Guess you like

Origin blog.csdn.net/qq_26545503/article/details/125324003