Android
[android] 안드로이드 스튜디오에서 SHA1, MD5 키 생성하기
개미맨
2018. 8. 10. 10:12
안드로이드에서 SHA1, MD5키를 생성하기 위해서 커맨드라인을 사용하여 아래와 같이 해야한다.
이런 불편함을 덜기 위해 안드로이드 스튜디오 상에서 키 생성 하는 방법을 적어논다.
커맨드라인으로 키값 생성
To get the release certificate fingerprint:
keytool -exportcert -list -v \
-alias <your-key-name> -keystore <path-to-production-keystore>
To get the debug certificate fingerprint:
keytool -exportcert -list -v \ -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
The keytool utility prompts you to enter a password for the keystore. The default password for the debug keystore is android
. The keytool then prints the fingerprint to the terminal. For example:
Certificate fingerprint: SHA1: DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09
To learn more about digital signing on Android, see Signing Your Applications.
참조
https://developers.google.com/android/guides/client-auth
안드로이드 스튜디오에서 키값 생성
참조
https://blog.reversebits.tech/generate-sha1-and-md5-keys-in-android-studio-20a3671d468d