![]() ![]() I/Unity ( 6607): ExecutionEngineException: SIGILL I/dun_service( 262): The value returned from dun_getusbmodemstate_fromsys is 1ĭ/dalvikvm( 6607): Trying to load lib /data/data//lib/libsqlite3.so 0x459bd0f0ĭ/dalvikvm( 6607): Added shared lib /data/data//lib/libsqlite3.so 0x459bd0f0ĭ/dalvikvm( 6607): No JNI_OnLoad found in /data/data//lib/libsqlite3.so 0x459bd0f0, skipping initĭ/dalvikvm( 6607): Shared lib '/data/data//lib/libsqlite3.so' already loaded in same CL 0x459bd0f0 I/Unity ( 6607): about to connect to URI=file:/data/data//files/puzzles.db I/Unity ( 6607): (Filename: /Applications/buildAgent/work/842f9557127e852/Runtime/Export/Generated/UnityEngineDebug.cpp Line: 34) I/Unity ( 6607): PuzzleLoader:loadPuzzle(Int32, Int32, Int32) I/Unity ( 6607): VDBMS_Standalone:_connect(String) I/Unity ( 6607): UnityEngine.Debug:Log(Object) I/Unity ( 6607): UnityEngine.Debug:Internal_Log(Int32, String, Object) I/Unity ( 6607): db_path = /data/data//files/puzzles.db I/Unity ( 5599): at 3.Open (System.String strFilename, SQLiteOpenFlagsEnum flags, Int32 maxPoolSize, Boolean usePool) in :0 I/Unity ( 5599): SqliteException: Unable to open the database file String connection = "URI= file:" + Application.dataPath + "/" + myDatabase.db Ĭonnection = "URI=file:" + ("/Data","") +"/" + mydatabase.db String connection = "URI= file:" + Application.dataPath + "/assets/" + myDatabase.db String connection = "URI= file:jar:" + Application.dataPath + "!/assets/" + myDatabase.db ĭbcon = new SqliteConnection(connection) But now there is like having access to the path of my database. Once again, any help will be greatly appreciated. How to wrap around the library using C#? I have indeed located a linux C# wrapper for sqlite, it import "kernel32" to handle pointers among other things. If I can not use Android NDK, how should I do it?Ĭ. Can I compile using Android NDK? Isn't that specifically for porting C to Java, since it uses JNI?ī. Is there another way to access the libsqlite.so which is already in Android?ģ. How can I include it in the apk? Where should it go?Ģ. Can I use the win32 sqlite3.dll from, or do I need a sqlite3.dll assembly specific for Mono ī. If you know the answer to any of my question, please don't hesitate to reply. ![]() However, each one is easier said then done. Compile sqlite from source and use as a plugin. Use the native libsqlite.so which is included in Android ģ. ![]() Locate the missing sqlite3.dll and include it in the apk Ģ. I am thinking, there could be multiple solutions.ġ. The problem seems to be that can not find sqlite3.dll. I have been trying to get sqlite to work on Android for quite a while now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |