I am just created sample project and facing this issue. Can anybody help on this to resolve this ?
Try to manually delete apk \app\build\outputs\apk\app-debug.apk’ after closing android studio. It would work though, after some time error may raise again , but you can continue your work by doing so.
Just Click ‘Clean Project’ under ‘Build’ and it’s done!
Answers here have helped many people, but my issue was that
debug.keystore was corrupted somehow. I had to delete the
\app directory first and regenerate the
debug.keystore with below-given command. Make sure to run it inside the