Disabling sqlite Write-Ahead logging in Android Pie
问题 In Android Pie sqlite Write-Ahead logging (WAL) has been enabled by default. This is causing errors for my existing code only in Pie devices. I have been unable to turn off WAL successfully using SQLiteDatabase.disableWriteAheadLogging() or PRAGMA journal_mode due to the way I access the database. I would like to disable WAL completely with an Android setting called db_compatibility_wal_supported : Compatibility WAL (Write-Ahead Logging) for Apps Does anyone know how to configure this? I don