Android - The type initializer for 'SQLite.SQLiteConnection' threw an exception. ---> System.DllNotFoundException: e_sqlite3

前端 未结 2 1479
梦谈多话
梦谈多话 2021-01-20 22:45

On our Xamarin Android project we are trying to switch from sqlite-net to official sqlite-net-pcl package.

However after this switch when creating a new SQL

相关标签:
2条回答
  • 2021-01-20 23:02

    I know that's an old post, and sorry for resume that, To answer @sagar-panwala that cannot fix the problem, ther easyest way is to fix that problem without become mad with nu-get plugins is set the .droid project as "StartupProject" when compiling for android:

    Probably there was an error in the original nuget package.

    0 讨论(0)
  • 2021-01-20 23:07

    The nuget package had to be installed in our main droid app project as well. If it is installed in a solution project which is not the app start project then it creates these problems.

    0 讨论(0)
提交回复
热议问题