Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I ran into a weird issue with Xamarin iOS project where the app crashes when I have Akavache 18.104.22.168 and SQLite net pcl 1.3.1 nuget packages in the same project. The error message that I received is
"System.TypeInitializationException: The type initializer for 'Akavache.Sqlite3.Internal.SQLiteConnection' threw an exception. ---> System.TypeLoadException: Could not load type 'SQLitePCL.SQLite3Provider_internal' from assembly 'SQLitePCLRaw.provider.internal, Version=22.214.171.124, Culture=neutral, PublicKeyToken=89ae75803b2c608d'".
This was tested on the iPhoneSimulator - iPhone SE iOS 10.2
On Xamarin Droid project with virtual device (Nexus 4 - Marshmallow), everything is fine.
I have attached a sample test project (a bear bone Xamarin Solution with Akavache and Sqlite net pcl 1.3.1 nuget packages) in this bug. Any help would be greatly appreciated.
Xamarin Studio Info:
Xamarin Studio Professional
Version 6.2 (build 1821)
Supported Android versions: 6.0, 7.0 and 7.1 (API 23, 24 and 25).
SDK Tools Version: 25.2.2
SDK Platfom Tools Version: 25
Mac OS X 10.11.6
Created attachment 20121 [details]
A bear bone Xamarin Solution with Akavache and Sqlite net pcl 1.3.1 nuget packages
Seems like Akavache needs to update to version 1.1.2 of SQlitePCLRaw, by doing this everything works fine :)
Wow! Thanks a lot!