79407341

Date: 2025-02-02 21:02:47
Score: 2
Natty:
Report link

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

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Omar Alshobky