I started my solution from scratch, New Xamarin.Forms (c#) solution, Shared Library, With 3 target devices, UWP, Android and Ios, and I activated the Android project.
I let the blank solution created by VS2017 with the shared project, and didn’t add a .Net standard Library. That’s in the shared project that I’m trying to connect with my couchbase Database and to start the replication.
Important info : If I activate the UWP project, the app work fine. My code seems to be good.
I started ma app thru Xamarin Live player (for debugging), The app start, but I’he this exceptions:
Index was outside the bounds of the array. (IndexOutOfRangeException) Could not find type `LiteCore.Interop.C4Document*` in `Couchbase.Lite` Cannot load interpreted field `<ThreadSafety>k__BackingField` on <null> () Specified cast is not valid. (InvalidCastException) Cannot load interpreted field `<Status>k__BackingField` on <null> ()
I called the Active function as defined in the spec.
I tested to generate the Apk (in case that the trouble come with Xamarin Live player) and install my app on my tablette and my phone. No way, the App crashs on each devices.
I really need to make It work, I have less than 2 weeks.
Please help, I don’t know what to do to make it worked !