Closed ponyspeed888 closed 2 years ago
I'm having this issue as well. When I try to run my app in an Adnroid local device, I noticed 2 things:
Cannot determine ABI of native library 'C:\Users\...\.nuget\packages\sqlitepclraw.lib.e_sqlite3\2.0.5-pre20210521085756\runtimes\linux-arm64
System.TypeInitializationException: 'The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception
DLLNotFound - e_sqlite3
I'm using:
I'm not able to repro this on the latest bits. Both the emulator and my ancient API 26 device worked for me.
EF Core 3.1, 5.0, and 6.0 preview does not work with MAUI application preview 4. The root cause seems to be in Microsoft.Data.Sqlite. It caused a "Target Invokation Error" when a SQLite connection is opening. In the attached project, this line
At MainApplication.cs, line 34
Attached project google drive link :
https://drive.google.com/file/d/1BcCGk26ZIHNJaxGb6vqVupsfhGAcmc-V/view?usp=sharing