When launching the 'MAS Android Login User Authentication and Authorization' sample app on Android P (API 28) it will crash on startup.
https://github.com/CAAPIM/Sample-App-MAS-Android-Login-User-Authentication-And-Authorization
You will see errors similar to the below in the logs:
2019-09-12 07:56:51.845 13683-14103/com.google.android.gms.unstable W/KeyStore: KeyStore exception
android.os.ServiceSpecificException: (code 7)
Android P
MAS SDK 1.8+
Secure Account Manager Storage (AMS) stores SSO tokens and data using Android AccountManager, providing an extra layer of data encryption before storing the data to the AccountManager. We recommended using Secure Account Manager Storage rather than Android keystore (default). Although Secure AMS is the default token storage for Android P devices and higher, you must explicity enable Secure AMS for earlier Android devices.
Be sure to set up Secure Account Manager Storage per our documentation: