Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLiteApiAndroid.Open(System.Byte[] filename, SQLite.Net.Interop.IDbHandle& db, System.Int32 flags, System.IntPtr zvfs) #363

Open
haohighview opened this issue Jul 19, 2017 · 1 comment

Comments

@haohighview
Copy link

Xamarin caused by: android.runtime.JavaProxyThrowable: System.DllNotFoundException: esqlite3
SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroidInternal.sqlite3_open_v2(byte[], ref intptr, int, intptr)(wrapper managed-to-native)
SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroid.Open(byte[] filename, ref IDbHandle db, int flags, IntPtr zvfs)<0ce118559d8944d1942b16ca667c2567>:0
SQLite.Net.SQLiteConnection.SQLiteConnection(ISQLitePlatform sqlitePlatform, string databasePath, SQLiteOpenFlags openFlags, bool storeDateTimeAsTicks, IBlobSerializer serializer, IDictionary<TKey, TValue> tableMappings, IDictionary<TKey, TValue> extraTypeMappings, IContractResolver resolver)
SQLite.Net.SQLiteConnectionWithLock.SQLiteConnectionWithLock(ISQLitePlatform sqlitePlatform, SQLiteConnectionString connectionString, IDictionary<TKey, TValue> tableMappings, IDictionary<TKey, TValue> extraTypeMappings)
AppBoundlss.Android.Services.AndroidPlatformService.GetConnectionWithLock(string databasePath)
AppBoundlss.PCL.SqliteHelper.get_ConnectionWithLock()
AppBoundlss.PCL.SqliteHelper.get_AsyncConnection()
AppBoundlss.PCL.App.Initialize()
MvvmCross.Core.Platform.MvxSetup.CreateAndInitializeApp(IMvxPluginManager pluginManager)
MvvmCross.Core.Platform.MvxSetup.InitializeApp(IMvxPluginManager pluginManager)
MvvmCross.Core.Platform.MvxSetup.InitializeSecondary()
MvvmCross.Droid.Platform.MvxAndroidSetupSingleton.b__7_0(object ignored)
System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(object state)
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, object state, bool preserveSyncCtx)
System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
System.Threading.ThreadPoolWorkQueue.Dispatch()<7391fe8b2ccf45bc8695ad58f2fc302f>:0
System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

@minafaw
Copy link

minafaw commented Aug 8, 2017

I have the same issue did you figure why this happen

Xamarin caused by: android.runtime.JavaProxyThrowable: System.DllNotFoundException: /system/lib64/libsqlite.so
SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroidInternal.sqlite3_open_v2(byte[], ref intptr, int, intptr)(wrapper managed-to-native)
SQLite.Net.Platform.XamarinAndroid.SQLiteApiAndroid.Open(byte[] filename, ref IDbHandle db, int flags, IntPtr zvfs)<8dbf6ff85082469fb9d4dfaa9eae6b69>:0
SQLite.Net.SQLiteConnection.SQLiteConnection(ISQLitePlatform sqlitePlatform, string databasePath, SQLiteOpenFlags openFlags, bool storeDateTimeAsTicks, IBlobSerializer serializer, IDictionary<TKey, TValue> tableMappings, IDictionary<TKey, TValue> extraTypeMappings, IContractResolver resolver)<8f2bb39aeff94a30a8628064be9c7efe>:0
SQLite.Net.SQLiteConnection.SQLiteConnection(ISQLitePlatform sqlitePlatform, string databasePath, bool storeDateTimeAsTicks, IBlobSerializer serializer, IDictionary<TKey, TValue> tableMappings, IDictionary<TKey, TValue> extraTypeMappings, IContractResolver resolver)<8f2bb39aeff94a30a8628064be9c7efe>:0
CrewBriefingForms.Droid.CrewBriefingDB_Android.GetConnection()
CrewBriefingForms.Database.DB_PCL.DropDatabase()
CrewBriefingForms.LoginPage.<buttonDemo_Click>d__4.MoveNext()
Android.App.SyncContext.<>c__DisplayClass2_0.b__0():0
Java.Lang.Thread.RunnableImplementor.Run():0
Java.Lang.IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this):0
at (wrapper dynamic-method) System.Object:ec3bbe43-9dc1-42c7-a62e-de6cd3baa963 (intptr,intptr)
mono.java.lang.RunnableImplementor.n_run(Native Method)
mono.java.lang.RunnableImplementor.run()RunnableImplementor.java:30
android.os.Handler.handleCallback()Handler.java:751
android.os.Handler.dispatchMessage()Handler.java:95
android.os.Looper.loop()Looper.java:154
android.app.ActivityThread.main()ActivityThread.java:6682
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run()ZygoteInit.java:1520
com.android.internal.os.ZygoteInit.main()ZygoteInit.java:1410

johnfoconnor pushed a commit to machinezone/SQLite.Net-PCL2 that referenced this issue Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants