Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Exception in Sqlite-Net-PCL after updating Xamarin

$
0
0

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.


Viewing all articles
Browse latest Browse all 58056

Trending Articles