I am trying to publish a simple project in android studio .so i go to menu>build>build apk .but i get this error :
Error:Execution failed for task ':app:packageDebug'.
> Failed to read key AndroidDebugKey from store "C:\Users\ehsan\.android\debug.keystore": Invalid keystore format
I am so new in android studio

I'm also facing same issue. for mine getting this type of issue, when I run app with my physical device.
Solution
Delete .android (path:C:\Users{your pc name}) folder in your work space then try with step by step process.
good luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With