Trying to create a database through Room. Made classes Entity , DAO and Database . Trying to understand why the error comes out:

error: There is a problem with the SQL query: [SQLITE_ERROR] SQL error or missing database (no such table: List)

Link to GitHub .

Picture of what is now


The code that swears:

 @Dao public interface DAO_List { // Добавление в бд @Insert void insertAll(Room_List... list); // Удаление из бд @Delete void delete(Room_List list); // Получение всех из бд @Query("SELECT * FROM List") List<Room_List> getAll(); // Получение всех Person из бд с условием @Query("SELECT * FROM List WHERE id = :id") List<Room_List> getById(int id); @Query("SELECT COUNT() FROM List") int getCount(); } 

As I understand the problem here:

 public class App extends Application { public static App instance; private Database database; @Override public void onCreate() { super.onCreate(); instance = this; database = Room.databaseBuilder(getApplicationContext(), Database.class, "List.sql").build(); } public static App getInstance() { return instance; } public Database getDatabase() { return database; } } 

Explain how to fix it. Preferably, as detailed as possible.

    0