Trying to extend class with SQLiteOpenHelper, but this error shows up : \"There is no default constructor available in android.database.sqlite.SQLitepenhelper\" along with o
You need to define an explicit constructor yourself that calls the 4- or 5-arg super constructor in SQLiteOpenHelper.
super
For example:
public DbHelper(Context context) { super(context, "database.db", null, 1); }
where database.db is your database file name and 1 is the version.
database.db
1