efortuna / memechat

a meme-based chat application
542 stars 150 forks source link

java.lang.Exception: Only one command is allowed: both -exportcert and -list were specified. #40

Closed zephyo closed 4 years ago

zephyo commented 4 years ago

Hi, cool app! When trying to follow the Android Setup instructions, I get:

keytool -exportcert -list -v \
> -alias androiddebugkey -keystore ~/.android/debug.keystore
keytool error: java.lang.Exception: Only one command is allowed: both -exportcert and -list were specified.
chonghorizons commented 4 years ago

This is just a twolines issue.

Type this: keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

Or read more here: https://stackoverflow.com/questions/30070264/get-sha1-fingerprint-certificate-in-android-studio-for-google-maps

Proposed: @zephyo Close this issue if it works.