Read other posts in SO, but accepted answers don't work. So here it is again:
How to disable logging and therefore can export DB from emulator? Here's how I try to handle this:
db = openOrCreateDatabase("db6", MODE_PRIVATE, null);
db.rawQuery("PRAGMA journal_mode=DELETE",null); // <-- has no effect, neither with OFF
db.execSQL("CREATE TABLE IF NOT EXISTS Item(_id VARCHAR PRIMARY KEY, text VARCHAR);");

source
share