oysteinkrog / SQLite.Net-PCL

Simple, powerful, cross-platform SQLite client and ORM - Updated version with PCL support
MIT License
353 stars 162 forks source link

System.DllNotFoundException: sqlite3 SQLite.Net.Platform.Xamarin Android #323

Closed 85mine closed 8 years ago

85mine commented 8 years ago

InnerException {System.DllNotFoundException: sqlite3 at (wrapper managed-to-native) SQLite.Net.Platform.XamarinAnd…} System.DllNotFoundException

StackTrace " at (wrapper managed-to-native) SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroidInternal:sqlite3_open_v2 (byte[],intptr&,int,intptr)\n at SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroid.Open (System.Byte[] filename, SQLite.Net.Interop.IDbHandle& db, System.Int32 flags, System.IntPtr zvfs) [0x00000] in :0 \n at SQLite.Net.SQLiteConnection..ctor (SQLite.Net.Interop.ISQLitePlatform sqlitePlatform, System.String databasePath, SQLite.Net.Interop.SQLiteOpenFlags openFlags, System.Boolean storeDateTimeAsTicks, SQLite.Net.IBlobSerializer serializer, System.Collections.Generic.IDictionary2[TKey,TValue] tableMappings, System.Collections.Generic.IDictionary2[TKey,TValue] extraTypeMappings, SQLite.Net.IContractResolver resolver) [0x000a2] in :0 \n at SQLite.Net.SQLiteConnection..ctor (SQLite.Net.Interop.ISQLitePlatform sqlitePlatform, System.String databasePath, System.Boolean storeDateTimeAsTicks, SQLite.Net.IBlobSerializer serializer, System.Collections.Generic.IDictionary2[TKey,TValue] tableMappings, System.Collections.Generic.IDictionary2[TKey,TValue] extraTypeMappings, SQLite.Net.IContractResolver resolver) [0x00000] in :0 \n at LunarCalendar.Components.Utils.Connections.SQLite_Android.CreateConnection () [0x00017] in /Users/DanielWellington/Desktop/Project/LunarCalendar/LunarCalendar/LunarCalendar.Droid/Resources/Components/Utils/Connections/SQLite_Android.cs:62 \n at LunarCalendar.Components.Utils.Connections.SQLite_Android.get_Instance () [0x0000e] in /Users/DanielWellington/Desktop/Project/LunarCalendar/LunarCalendar/LunarCalendar.Droid/Resources/Components/Utils/Connections/SQLite_Android.cs:34 \n at LunarCalendar.Components.Utils.Connections.SQLite_Android.GetConnection () [0x00002] in /Users/DanielWellington/Desktop/Project/LunarCalendar/LunarCalendar/LunarCalendar.Droid/Resources/Components/Utils/Connections/SQLite_Android.cs:45 \n at Infrastructure.DatabaseFactory.Get () [0x00015] in /Users/DanielWellington/Desktop/Project/Luna

85mine commented 8 years ago

I have fixed. This issue is database select row with index > max rownum