Open mcus01 opened 6 years ago
Are you compiling against SDK 26 (i.e. Android 8.0)?
We're using an emulator with Android 7.0 (API 24).
I am compiling against compiling against SDK 26 (i.e. Android 8.0), I am getting same exception, using version 2.0.1
Hi!
I'm getting the following error in my Xamarin Forms application:
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'Plugin.SecureStorage.SecureStorageImplementation' threw an exception. ---> Java.Lang.NoSuchMethodError: no static method "Landroid/os/Build;.getSerial()Ljava/lang/String;"
This is thrown when I try to use the SetValue method:
CrossSecureStorage.Current.SetValue("test", "123");
I'm using SecureStorage version 2.0.1 (although, I'm also getting the problem in version 2.0).
Any clues? Thanks!