JonniBravo
JonniBravo

Reputation: 1071

Cant obtain md5 Fingerprint for api key

I am trying to develop the map element of my app and I am having trouble obtaining a md5 fingerprint, I am using Ubuntu and I have located the debug.keystore file, but when I enter the commands I get:

No command 'store' found, did you mean: Command '0store' from package 'zeroinstall-injector' (universe) Command 'stone' from package 'stone' (universe) store: command not found

or;

Illegal option: -key Try keytool -help

I think the first error maybe incorrect file path but I think the second error is when I got it right.

Anyone Help with this

Thanks In Advance

Upvotes: 1

Views: 776

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006539

The command is keytool, not store. Per the documentation, the command you need to run is:

keytool -list -alias androiddebugkey -keystore <path_to_debug_keystore>.keystore -storepass android -keypass android

In your specific case, for Ubuntu, this turns into:

keytool -list -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass android -keypass android

Upvotes: 3

Related Questions