I had to change android build from x86 to x64, and after doing that an error occurs while trying to create a table in sqllite using xamarin
public ObraDao(ISqliteConnectionService connectionService)
{
connection = connectionService.GetConnectionAsync();
if (connection != null)
CreateTable();
}
private async void CreateTable()
{
await connection.CreateTableAsync<ViewObra>();
}
Error: Could not resolve type with token 0100004c from typeref (expected class 'SQLite.CreateTableResult' in assembly 'SQLite-net, Version=1.5.231.0, Culture=neutral, PublicKeyToken=null') assembly:SQLite-net, Version=1.5.231.0, Culture=neutral, PublicKeyToken=null type:SQLite.CreateTableResult member:(null)