Please upgrade your browser. For security reasons, you will no longer be able to access Amazon with this browser. More information.

Upgrading your Login with Amazon SDK for Android

What version of the Login with Amazon SDK for Android is my app using?

To determine the version of the Login with Amazon SDK for Android your app is using:

  1. Open a Mac/Unix terminal.
  2. Navigate to the folder containing the Login with Amazon SDK for Android (login-with-amazon-sdk.jar) in your Android App. Typically, this is the libs folder under your project root directory.
  3. Run the following command to print the version number of the SDK:
    javap -classpath ./login-with-amazon-sdk.jar -constants com.amazon.identity.auth.map.device.utils.MAPVersionInfo | grep -o "LWA_VERSION = .*"

How can I upgrade to the latest version of the Login with Amazon SDK for Android?

To upgrade from an earlier version of the Login with Amazon SDK for Android to the most recent:

  1. Download the latest version of the SDK from https://login.amazon.com/android.
  2. Using your filesystem, navigate to the LoginWithAmazonSDKForAndroid._TTH_.zip folder you just downloaded.
  3. Extract the zip file and navigate to the LoginWithAmazonSDKForAndroid._TTH_./LoginWithAmazon/lib folder.
  4. Use the login-with-amazon-sdk.jar in this folder to replace the older SDK .jar file in your Android app. You can do this by copying the new .jar file to your clipboard, then pasting it into the folder of your Android project where the old .jar file is stored (typically the libs folder under your project root directory).