I was generating my android app certificate in Windows 10 Administrator, this was the command I entered to generate the certificate for my app.
keytool -genkey -v -keystore c:\my-release-key.keystore -alias omar
Also as in the image you can see the error. But sorry for that but I am new to Android and this is a first time I was creating a certificate. Help is much appreciated.
The error is keytool error: java.lang.Exception: The -keyalg option must be specified
Password = " 123456 "
This question has been answer by Stephen. Thank you.