Type Initializer exception on creating an instance of database object in Couchbase.Lite 2.1 on Xamarin

I have .Net standard 2.0 xamarin , whenever tried to create a instance for database after activate it , I’m getting error. Please do needful.

@thangarajmm,
Can you please provide the code snippet that you have written for creating and instance and can you please paste the error here, so that I can see what type of error it is?

You can check the sample code and documention on how to create database and documents inside the database here https://docs.couchbase.com/couchbase-lite/2.0/csharp.html#database.