mercredi 3 février 2016

ActiveAndroid cannot import com.activeandroid.uitl;

For clearing all database entries I did this

SQLiteUtils.execSql("DELETE FROM table_name");

But im getting "cannot resolve symbol error" on 'SQLiteUtils' when using this in my activity. Also cannot import com.activeandroid.util; same error on 'util'

Can i not use this code in an activity and Do i need to create a DatabaseHelper extends SQLiteOpenHelper to use this?

Aucun commentaire:

Enregistrer un commentaire