AlexaAndroid
AlexaAndroid copied to clipboard
Log in issue
While trying to log in the Alexa Amazon account for authenticating, it is always showing error.
A couple of things to check:
- Your api_key.txt is in your src/assets folder.
- Your PRODUCT_ID matches the one set up on AVS
Check your Android log. Usually when a login fails there is some useful information there.
@rohith-krish @ihavenoface5 Hi Guys,
I have made all necessary changes but I am facing this error:
04-27 16:19:15.742 28483-28483/? E/AuthorizationHandler: Unable to Use Amazon Authorization Manager. APIKey is incorrect or does not exist. Does assets/api_key.txt exist in the main application?
java.lang.IllegalArgumentException: Invalid API Key
at com.amazon.identity.auth.device.authorization.api.AmazonAuthorizationManager.
You can only use library with android O or below because it uses lower version of Login with Amazon SDK.