I created a table named resources but when I insert values in it, this exception is thrown:
android.database.sqlite.SQLiteConstraintException: error
Constraint failed usually indicates that you did something like pass a null value into a column that you declare as not null when you create your table.
null
not null