SQLight Android

2 replies. Last post: September 29, 2014 2:52 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ryan HermanMember

I'm trying to get SQLight to work in Android but keep getting the message:

System.Exception: The SQLite platform service is not initialized. Please make sure the Intersoft.Crosslight.Data.SQLite.[platform] is referenced in your project.

I have the following code in my core AppServices.cs:

            ServiceProvider.AddService<ISQLiteService, SQLiteService>();


            Type[] types = new Type[] { typeof(UserData) };


            ISQLiteService service = ServiceProvider.GetService<ISQLiteService>();

            ISQLiteAsyncConnection connection = service.OpenDefaultConne

I have added 
using Intersoft.Crosslight.Data.SQLite;
using Intersoft.Crosslight.Data.SQLite.Android;

to the Android Project and put the refrences in the AppInitalizer.cs

All times are GMT -5. The time now is 10:08 PM.
Previous Next