opened
jklaus
username_0
The Couchbase Lite .NET issue tracker is reserved for bug reports and enhancement 
requests. For general questions, please use the Couchbase forums:
https://forums.couchbase.com/c/mobile/ . Thank you!

### Library Version
2.0.0.1

### .NET Runtime
Xamarin Android 27.0.2

### Operating System
Windows 10 Pro 
Version: 1709
OS Build: 16299.371

### Code
```
Context context = this.ApplicationContext;
Couchbase.Lite.Support.Droid.Activate(context);
var db = new Couchbase.Lite.Database("test");
```

### Issue
The follow exception is thrown when the database constructor executes.

Message	"The type initializer for 'Couchbase.Lite.Logging.Log' threw an exception."	string

	Message	"A required dependency injection class is missing (LiteCore.Interop.ILiteCore).\n                       Please ensure that you have called the proper Activate() class in the \n                       support assembly (e.g. Couchbase.Lite.Support.UWP.Activate()) or that you \n                       have manually registered dependencies via the Couchbase.Lite.DI.Service \n                       class."	string

				
				System.TypeInitializationException
  HResult=0x80131534
  Message=The type initializer for 'Couchbase.Lite.Logging.Log' threw an exception.
  Source=Couchbase.Lite
  StackTrace:
   at Couchbase.Lite.Logging.Log.get_To()
   at Couchbase.Lite.Database..ctor(String name, DatabaseConfiguration configuration)
   at TestApp.Program.Main(String[] args) in C:\Users\username_0\source\repos\HelloWorld\TestApp\Program.cs:line 10

Inner Exception 1:
InvalidOperationException: A required dependency injection class is missing (LiteCore.Interop.ILiteCore).
                       Please ensure that you have called the proper Activate() class in the 
                       support assembly (e.g. Couchbase.Lite.Support.UWP.Activate()) or that you 
                       have manually registered dependencies via the Couchbase.Lite.DI.Service 
                       class.
CBL 2.0.0.1 - Xamarin Android Missing LiteCore.Interop.ILiteCore
issue
created
borrrden
username_1
Operating System means the Android OS in this case.  What are the details of where you are trying to deploy?
comment
created
jklaus
username_0
Its a device I created to mimic my moto x4.  CPU/ABI: Intel Atom x86_64
comment
created
borrrden
username_1
That's not an ABI that we directly support, but my theory is that it should pick up the x86 version since it is backwards compatible.  Can you try on an x86 based device instead?
comment
created
borrrden
username_1
Have you had a chance to review my previous comment @username_0 ?
comment
closed
djpongh
username_2
issue
created
jklaus
username_0
If this has been removed from 2.1.2 - should it be closed?
comment
created
borrrden
username_1
It is closed and removed from the milestone due to inability to reproduce and lack of response.  If you have more information that can help reproduce then please let us know.
comment