i posted this topic once but no answer so far , so now i re-post it again....
How to get MD5 key in Android App keystore for applying Amazon api key?
I am building a Android Companion App for my AVS Alexa-enabled device, Companion App is responsible to help Alexa-enabled device to get authentication to access Amazon Services.
At the first , Android Companion App need a api-key pre-generated from Amazon Server to get authentication to device.
So i try to generate Amazon api-key by following this illustration "To enable Login with Amazon for Android, you have to specify the package name and signature for the app project. Login with Amazon will use these values to generate an API key" ,
in this doc
https://developer.amazon.com/docs/login-with-amazon/register-android.html#add-android-settings
The doc recommend to generate Android App Keystore in advance by this cmd
"keytool -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-alias",
at the topic "Build and sign your app from command line" in this doc https://developer.android.com/studio/publish/app-signing
After i generate my own Android App Keystore , i found there are only SHA1 and SHA256 in keystore after build , no MD5 key included.
The first doc suppose us to get both MD5 and SHA256 key after building Keystore , not only SHA1 and SHA256 key.
https://drive.google.com/open?id=1UE9yBee4POZRzV4SC1HQK_MQyTluER_F
Use this cmd to check "keytool -list -v -keystore Argot_AndroidApp_KeyStore"
CN=jack hsu, OU=RD, O=PowerRay, L=taipei city, ST=taipei city, C=TW
CN=jack hsu, OU=RD, O=PowerRay, L=taipei city, ST=taipei city, C=TW
SN: 2b3ff9da
Verify Date: Sun Jun 03 11:24:10 CST 2018 到: Thu May 28 11:24:10 CST 2043
Certificate Fingerprints :
SHA1: 01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef
SHA256: 01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef:01:23:45:67:89:ab:cd:ef
And the Amazon Api-key applying webpage requesting both MD5 and SHA256 key for applying.
https://drive.google.com/open?id=1TdXJMJLT74fDqTT5kwPBWHelXI0tgrgn
So missing MD5 info , therefore i can't build correct api-key for my device.
This issue has pending for weeks , anyone knows about this , pls help about this issue .
Thank u guys
Jack hsu