SQLCipher for Android getReadableDatabase() Overherad
问题 I've modified my DatabaseHelper class to use the SQLCipher library. To do that, I: Copied the assets into my assets folder and the libraries (armeabi, x86, commons-codec, guava-r09, sqlcipher) into my libs folder. Changed the imports in my DatabaseHelper class so that they point to import net.sqlcipher.database.* instead. Call SQLiteDatabase.loadLibs(getApplicationContext()); when the app starts up. Modified the lines where I call getReadableDatabase() and getWriteableDatabase() so that they