This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
okhttp3.Address: can't find referenced class javax.annotation.Nullable | |
okhttp3.Authenticator: can't find referenced class javax.annotation.Nullable | |
okhttp3.Authenticator$1: can't find referenced class javax.annotation.Nullable | |
okhttp3.Cache: can't find referenced class javax.annotation.Nullable | |
okhttp3.Cache$2: can't find referenced class javax.annotation.Nullable | |
okhttp3.Cache$CacheResponseBody: can't find referenced class javax.annotation.Nullable | |
okhttp3.Cache$Entry: can't find referenced class javax.annotation.Nullable | |
okhttp3.CacheControl: can't find referenced class javax.annotation.Nullable | |
okhttp3.CertificatePinner: can't find referenced class javax.annotation.Nullable | |
okhttp3.Challenge: can't find referenced class javax.annotation.Nullable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try { | |
PackageInfo info = getPackageManager().getPackageInfo( | |
getPackageName(), | |
PackageManager.GET_SIGNATURES); | |
for (Signature signature : info.signatures) { | |
MessageDigest md = MessageDigest.getInstance("SHA"); | |
md.update(signature.toByteArray()); | |
Log.d("KeyHash:", Base64.encodeToString(md.digest(), Base64.DEFAULT)); | |
} |