You will need to point to the jdk keytool.exe . In my case I added to the global path variable in windows the following path : C:\Program Files\Java\jdk1.7.0_71\bin

Then you will have to have installed open ssl for windows and added to the path.

If you have a space in your windows user account(in my case it was “valentin vasilescu”) you can just specificy the beggining of the folder name => valent~1

 keytool -exportcert -alias androiddebugalias -keystore C:\Users\valent~1\AndroidStudioProjects\BigProject\certificates\debugkeystore.jks openssl sha1 -binary openssl base64

You will be asked for a password if all goes well, then you will be presented with a hask like JlFapyL7ZPyTTJoTDbehDaQCzdk=

I Used Color Console for this, as power cmd seems to get stuck after entering password. The default cmd of windows should do just fine.