Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find SHA1 in Cordova project

So... I need to get a SHA1 key. I'm not a Java fan, so I'm creating my app in Cordova but I need the SHA1 to register it in Google's Developer Console. Does someone know where it is? I tried importing the project in Android studio but still couldn't find anything...

like image 639
Veselina Kolova Avatar asked Apr 02 '15 19:04

Veselina Kolova


1 Answers

For Windows you have to create it using command prompt.First go to your java bin directory via the cmd like C:\Program Files\Java\jdk1.7.0_71\bin,then type

keytool -list -v -keystore c:\users\your_user_name\.android\debug.keystore -alias androiddebugkey -storepass android -keypass android

For Mac users go to terminal ,then type

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
like image 111
Banik Avatar answered Nov 15 '22 04:11

Banik