I tried many solutions when this error appeared, but with God’s help, the problem was solved by creating a function to create the table using Try Catch. Here is the function: private void CreateTable() {
db.Execute("CREATE TABLE IF NOT EXISTS Person (Id INTEGER PRIMARY KEY AUTOINCREMENT, Name TEXT, Phone TEXT)");
}
And call the function in catch