My code worked well. Nothing has changed. But after I updated Xamarin to version 5.5.4, I am getting following exception when I run the following line:
CODE:
SQLitePlatformAndroid sqlitePlatform = new SQLitePlatformAndroid();
EXCEPTION:
System.TypeLoadException: Could not load type 'SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroid' from assembly 'SQLite.Net.Platform.XamarinAndroid, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null'.
I am using Sqlite-Net-PCL and XamarinAndroid 2.3.0. Had tried with 2.4.1. But same exception.
Please help. Already spent 2 days on this.