Failed to read key AndroidDebugKey from store "C:\.\.android\debug.keystore":Invalid keystore format

[Unity 2021.3.25.f1] I have a trouble when build android. Can someone help me pls.

I’ve tried these things but not working:

  • Move or delete file debug.keystore/lock in folder C:\User\Username.android

  • I created a new custom keystore

Did you managed to find a way to solve this issue? I’m facing the same issue

Try removing debug.keystore file under C:\User\Username.android\
And restart Unity. That should recreate the keystore

4 Likes

This worked for me in Unity 2021.31f1