Signing Your App in Android Studio
To sign your app in release mode in Android Studio, follow these steps:
1- On the menu bar, click Build > Generate Signed APK.
2-On the Generate Signed APK Wizard window, click Create new to create a new keystore.
If you already have a keystore, go...
In Gnu/Linux
First
You need key.jks, for example in my case this file it's in folder in /Desktop/Keys
/Desktop/Keys/key.jks
Second
cd /usr/lib/jvm/java-1.7.0-openjdk-amd64
Now you need excecute this command
keytool -list -v -keystore /PATH/file.jks -alias YourAlias -storepass *** -keypa...
you will get sha1 for keystore using that sha1 generate api key for google map