CheckJNI: method to register "native_rekey" not in the given class


#1

I am trying to run the application but getting exception on Android 6.0

SQLiteDatabase.loadLibs(this);

Here is my build.gradle

apply plugin: 'com.android.application'

android {
    compileSdkVersion 24
    buildToolsVersion "24.0.2"
    defaultConfig {
        applicationId "com.sandy.savepass"
        minSdkVersion 15
        targetSdkVersion 24
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    splits {
        abi {
            enable true
            reset()
            include 'x86', 'armeabi-v7a', 'mips'
            universalApk true
        }
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:24.2.0'
    compile 'com.android.support:design:24.2.0'
    //compile 'net.zetetic:android-database-sqlcipher:3.5.4@aar'
    testCompile 'junit:junit:4.12'
    compile files('libs/sqlcipher.jar')
}

Here is full stack trace

12-17 23:29:42.126 20854-20854/com.sandy.savepass I/Database: JNI_OnLoad called
12-17 23:29:42.126 20854-20854/com.sandy.savepass I/Database: JNI_OnLoad register methods 
12-17 23:29:42.126 20854-20854/com.sandy.savepass W/art: CheckJNI: method to register "native_rekey" not in the given class. This is slow, consider changing your RegisterNatives calls.
12-17 23:29:42.126 20854-20854/com.sandy.savepass E/art: Failed to register native method net.sqlcipher.database.SQLiteDatabase.native_rekey([C)V in /data/app/com.sandy.savepass-1/base.apk
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art: ----- class 'Lnet/sqlcipher/database/SQLiteDatabase;' cl=0x12d3b1c0 -----
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:   objectSize=836 (136 from super)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:   access=0x8008.0001
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:   super='java.lang.Class<net.sqlcipher.database.SQLiteClosable>' (cl=0x12d3b1c0)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:   vtable (67 entries, 5 in super):
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      0: void net.sqlcipher.database.SQLiteDatabase.addSQLiteClosable(net.sqlcipher.database.SQLiteClosable)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      1: void net.sqlcipher.database.SQLiteDatabase.addToCompiledQueries(java.lang.String, net.sqlcipher.database.SQLiteCompiledSql)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      2: void net.sqlcipher.database.SQLiteDatabase.beginTransaction()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      3: void net.sqlcipher.database.SQLiteDatabase.beginTransactionWithListener(net.sqlcipher.database.SQLiteTransactionListener)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      4: void net.sqlcipher.database.SQLiteDatabase.close()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      5: net.sqlcipher.database.SQLiteStatement net.sqlcipher.database.SQLiteDatabase.compileStatement(java.lang.String)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      6: int net.sqlcipher.database.SQLiteDatabase.delete(java.lang.String, java.lang.String, java.lang.String[])
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      7: void net.sqlcipher.database.SQLiteDatabase.endTransaction()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      8: void net.sqlcipher.database.SQLiteDatabase.execSQL(java.lang.String)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:      9: void net.sqlcipher.database.SQLiteDatabase.execSQL(java.lang.String, java.lang.Object[])
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     10: void net.sqlcipher.database.SQLiteDatabase.finalize()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     11: net.sqlcipher.database.SQLiteCompiledSql net.sqlcipher.database.SQLiteDatabase.getCompiledStatementForSql(java.lang.String)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     12: int net.sqlcipher.database.SQLiteDatabase.getMaxSqlCacheSize()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     13: long net.sqlcipher.database.SQLiteDatabase.getMaximumSize()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     14: long net.sqlcipher.database.SQLiteDatabase.getPageSize()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     15: java.lang.String net.sqlcipher.database.SQLiteDatabase.getPath()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     16: java.util.Map net.sqlcipher.database.SQLiteDatabase.getSyncedTables()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     17: int net.sqlcipher.database.SQLiteDatabase.getVersion()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     18: boolean net.sqlcipher.database.SQLiteDatabase.inTransaction()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     19: long net.sqlcipher.database.SQLiteDatabase.insert(java.lang.String, java.lang.String, android.content.ContentValues)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     20: long net.sqlcipher.database.SQLiteDatabase.insertOrThrow(java.lang.String, java.lang.String, android.content.ContentValues)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     21: long net.sqlcipher.database.SQLiteDatabase.insertWithOnConflict(java.lang.String, java.lang.String, android.content.ContentValues, int)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     22: boolean net.sqlcipher.database.SQLiteDatabase.isDbLockedByCurrentThread()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     23: boolean net.sqlcipher.database.SQLiteDatabase.isDbLockedByOtherThreads()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     24: boolean net.sqlcipher.database.SQLiteDatabase.isInCompiledSqlCache(java.lang.String)
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     25: boolean net.sqlcipher.database.SQLiteDatabase.isOpen()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     26: boolean net.sqlcipher.database.SQLiteDatabase.isReadOnly()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     27: int net.sqlcipher.database.SQLiteDatabase.lastChangeCount()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     28: long net.sqlcipher.database.SQLiteDatabase.lastInsertRow()
12-17 23:29:42.134 20854-20854/com.sandy.savepass E/art:     29: void net.sqlcipher.database.SQLiteDatabase.lock()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     30: void net.sqlcipher.database.SQLiteDatabase.logTimeStat(java.lang.String, long)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     31: void net.sqlcipher.database.SQLiteDatabase.logTimeStat(java.lang.String, long, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     32: void net.sqlcipher.database.SQLiteDatabase.markTableSyncable(java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     33: void net.sqlcipher.database.SQLiteDatabase.markTableSyncable(java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     34: void net.sqlcipher.database.SQLiteDatabase.native_execSQL(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     35: void net.sqlcipher.database.SQLiteDatabase.native_setLocale(java.lang.String, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     36: boolean net.sqlcipher.database.SQLiteDatabase.needUpgrade(int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     37: void net.sqlcipher.database.SQLiteDatabase.onAllReferencesReleased()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     38: void net.sqlcipher.database.SQLiteDatabase.onCorruption()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     39: void net.sqlcipher.database.SQLiteDatabase.purgeFromCompiledSqlCache(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     40: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.query(java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     41: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.query(java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     42: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.query(boolean, java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     43: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.queryWithFactory(net.sqlcipher.database.SQLiteDatabase$CursorFactory, boolean, java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     44: void net.sqlcipher.database.SQLiteDatabase.rawExecSQL(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     45: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.rawQuery(java.lang.String, java.lang.String[])
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     46: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.rawQuery(java.lang.String, java.lang.String[], int, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     47: net.sqlcipher.Cursor net.sqlcipher.database.SQLiteDatabase.rawQueryWithFactory(net.sqlcipher.database.SQLiteDatabase$CursorFactory, java.lang.String, java.lang.String[], java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     48: void net.sqlcipher.database.SQLiteDatabase.removeSQLiteClosable(net.sqlcipher.database.SQLiteClosable)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     49: long net.sqlcipher.database.SQLiteDatabase.replace(java.lang.String, java.lang.String, android.content.ContentValues)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     50: long net.sqlcipher.database.SQLiteDatabase.replaceOrThrow(java.lang.String, java.lang.String, android.content.ContentValues)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     51: void net.sqlcipher.database.SQLiteDatabase.resetCompiledSqlCache()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     52: void net.sqlcipher.database.SQLiteDatabase.rowUpdated(java.lang.String, long)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     53: void net.sqlcipher.database.SQLiteDatabase.setLocale(java.util.Locale)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     54: void net.sqlcipher.database.SQLiteDatabase.setLockingEnabled(boolean)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     55: void net.sqlcipher.database.SQLiteDatabase.setMaxSqlCacheSize(int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     56: long net.sqlcipher.database.SQLiteDatabase.setMaximumSize(long)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     57: void net.sqlcipher.database.SQLiteDatabase.setPageSize(long)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     58: void net.sqlcipher.database.SQLiteDatabase.setTransactionSuccessful()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     59: void net.sqlcipher.database.SQLiteDatabase.setVersion(int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     60: int net.sqlcipher.database.SQLiteDatabase.status(int, boolean)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     61: void net.sqlcipher.database.SQLiteDatabase.unlock()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     62: int net.sqlcipher.database.SQLiteDatabase.update(java.lang.String, android.content.ContentValues, java.lang.String, java.lang.String[])
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     63: int net.sqlcipher.database.SQLiteDatabase.updateWithOnConflict(java.lang.String, android.content.ContentValues, java.lang.String, java.lang.String[], int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     64: boolean net.sqlcipher.database.SQLiteDatabase.yieldIfContended()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     65: boolean net.sqlcipher.database.SQLiteDatabase.yieldIfContendedSafely()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     66: boolean net.sqlcipher.database.SQLiteDatabase.yieldIfContendedSafely(long)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:   direct methods (42 entries):
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      0: void net.sqlcipher.database.SQLiteDatabase.<clinit>()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      1: void net.sqlcipher.database.SQLiteDatabase.<init>(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      2: void net.sqlcipher.database.SQLiteDatabase.<init>(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory, int, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      3: void net.sqlcipher.database.SQLiteDatabase.checkLockHoldTime()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      4: void net.sqlcipher.database.SQLiteDatabase.closeClosable()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      5: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.create(net.sqlcipher.database.SQLiteDatabase$CursorFactory, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      6: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.create(net.sqlcipher.database.SQLiteDatabase$CursorFactory, char[])
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      7: void net.sqlcipher.database.SQLiteDatabase.dbclose()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      8: void net.sqlcipher.database.SQLiteDatabase.dbopen(java.lang.String, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:      9: void net.sqlcipher.database.SQLiteDatabase.deallocCachedSqlStatements()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     10: void net.sqlcipher.database.SQLiteDatabase.enableSqlProfiling(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     11: void net.sqlcipher.database.SQLiteDatabase.enableSqlTracing(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     12: java.lang.String net.sqlcipher.database.SQLiteDatabase.findEditTable(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     13: java.util.ArrayList net.sqlcipher.database.SQLiteDatabase.getAttachedDbs(net.sqlcipher.database.SQLiteDatabase)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     14: java.util.ArrayList net.sqlcipher.database.SQLiteDatabase.getDbStats()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     15: java.lang.String net.sqlcipher.database.SQLiteDatabase.getPathForLogs()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     16: long net.sqlcipher.database.SQLiteDatabase.getPragmaVal(net.sqlcipher.database.SQLiteDatabase, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     17: java.lang.String net.sqlcipher.database.SQLiteDatabase.getTime()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     18: void net.sqlcipher.database.SQLiteDatabase.loadICUData(android.content.Context, java.io.File)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     19: void net.sqlcipher.database.SQLiteDatabase.loadLibs(android.content.Context)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     20: void net.sqlcipher.database.SQLiteDatabase.loadLibs(android.content.Context, java.io.File)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     21: void net.sqlcipher.database.SQLiteDatabase.lockForced()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     22: void net.sqlcipher.database.SQLiteDatabase.markTableSyncable(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     23: int net.sqlcipher.database.SQLiteDatabase.native_getDbLookaside()
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     24: void net.sqlcipher.database.SQLiteDatabase.native_key(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     25: void net.sqlcipher.database.SQLiteDatabase.native_key(char[])
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     26: void net.sqlcipher.database.SQLiteDatabase.native_rawExecSQL(java.lang.String)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     27: int net.sqlcipher.database.SQLiteDatabase.native_status(int, boolean)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     28: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openDatabase(java.lang.String, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     29: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openDatabase(java.lang.String, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory, int, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     30: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openDatabase(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory, int)
12-17 23:29:42.135 20854-20854/com.sandy.savepass E/art:     31: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openDatabase(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory, int, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     32: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.io.File, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     33: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.io.File, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     34: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.lang.String, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     35: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.lang.String, java.lang.String, net.sqlcipher.database.SQLiteDatabase$CursorFactory, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     36: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     37: net.sqlcipher.database.SQLiteDatabase net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(java.lang.String, char[], net.sqlcipher.database.SQLiteDatabase$CursorFactory, net.sqlcipher.database.SQLiteDatabaseHook)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     38: int net.sqlcipher.database.SQLiteDatabase.releaseMemory()
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     39: void net.sqlcipher.database.SQLiteDatabase.setICURoot(java.lang.String)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     40: void net.sqlcipher.database.SQLiteDatabase.unlockForced()
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     41: boolean net.sqlcipher.database.SQLiteDatabase.yieldIfContendedHelper(boolean, long)
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:   static fields (29 entries):
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      0: java.lang.String net.sqlcipher.database.SQLiteDatabase.COMMIT_SQL
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      1: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_ABORT
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      2: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_FAIL
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      3: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_IGNORE
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      4: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_NONE
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      5: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_REPLACE
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      6: int net.sqlcipher.database.SQLiteDatabase.CONFLICT_ROLLBACK
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      7: java.lang.String[] net.sqlcipher.database.SQLiteDatabase.CONFLICT_VALUES
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      8: int net.sqlcipher.database.SQLiteDatabase.CREATE_IF_NECESSARY
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      9: java.util.regex.Pattern net.sqlcipher.database.SQLiteDatabase.EMAIL_IN_DB_PATTERN
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     10: int net.sqlcipher.database.SQLiteDatabase.EVENT_DB_CORRUPT
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     11: int net.sqlcipher.database.SQLiteDatabase.EVENT_DB_OPERATION
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     12: java.lang.String net.sqlcipher.database.SQLiteDatabase.GET_LOCK_LOG_PREFIX
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     13: int net.sqlcipher.database.SQLiteDatabase.LOCK_ACQUIRED_WARNING_THREAD_TIME_IN_MS
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     14: int net.sqlcipher.database.SQLiteDatabase.LOCK_ACQUIRED_WARNING_TIME_IN_MS
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     15: int net.sqlcipher.database.SQLiteDatabase.LOCK_ACQUIRED_WARNING_TIME_IN_MS_ALWAYS_PRINT
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     16: int net.sqlcipher.database.SQLiteDatabase.LOCK_WARNING_WINDOW_IN_MS
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     17: java.lang.String net.sqlcipher.database.SQLiteDatabase.LOG_SLOW_QUERIES_PROPERTY
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     18: int net.sqlcipher.database.SQLiteDatabase.MAX_SQL_CACHE_SIZE
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     19: int net.sqlcipher.database.SQLiteDatabase.MAX_WARNINGS_ON_CACHESIZE_CONDITION
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     20: int net.sqlcipher.database.SQLiteDatabase.NO_LOCALIZED_COLLATORS
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     21: int net.sqlcipher.database.SQLiteDatabase.OPEN_READONLY
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     22: int net.sqlcipher.database.SQLiteDatabase.OPEN_READWRITE
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     23: int net.sqlcipher.database.SQLiteDatabase.OPEN_READ_MASK
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     24: int net.sqlcipher.database.SQLiteDatabase.QUERY_LOG_SQL_LENGTH
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     25: int net.sqlcipher.database.SQLiteDatabase.SLEEP_AFTER_YIELD_QUANTUM
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     26: int net.sqlcipher.database.SQLiteDatabase.SQLITE_MAX_LIKE_PATTERN_LENGTH
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     27: java.lang.String net.sqlcipher.database.SQLiteDatabase.TAG
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     28: int net.sqlcipher.database.SQLiteDatabase.sQueryLogTimeInMillis
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:   instance fields (27 entries):
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      0: int net.sqlcipher.database.SQLiteDatabase.mCacheFullWarnings
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      1: java.util.Map net.sqlcipher.database.SQLiteDatabase.mCompiledQueries
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      2: net.sqlcipher.database.SQLiteDatabase$CursorFactory net.sqlcipher.database.SQLiteDatabase.mFactory
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      3: int net.sqlcipher.database.SQLiteDatabase.mFlags
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      4: boolean net.sqlcipher.database.SQLiteDatabase.mInnerTransactionIsSuccessful
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      5: long net.sqlcipher.database.SQLiteDatabase.mLastLockMessageTime
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      6: java.lang.String net.sqlcipher.database.SQLiteDatabase.mLastSqlStatement
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      7: java.util.concurrent.locks.ReentrantLock net.sqlcipher.database.SQLiteDatabase.mLock
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      8: long net.sqlcipher.database.SQLiteDatabase.mLockAcquiredThreadTime
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:      9: long net.sqlcipher.database.SQLiteDatabase.mLockAcquiredWallTime
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     10: boolean net.sqlcipher.database.SQLiteDatabase.mLockingEnabled
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     11: int net.sqlcipher.database.SQLiteDatabase.mMaxSqlCacheSize
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     12: int net.sqlcipher.database.SQLiteDatabase.mNativeHandle
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     13: int net.sqlcipher.database.SQLiteDatabase.mNumCacheHits
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     14: int net.sqlcipher.database.SQLiteDatabase.mNumCacheMisses
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     15: java.lang.String net.sqlcipher.database.SQLiteDatabase.mPath
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     16: java.lang.String net.sqlcipher.database.SQLiteDatabase.mPathForLogs
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     17: java.util.WeakHashMap net.sqlcipher.database.SQLiteDatabase.mPrograms
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     18: java.util.Random net.sqlcipher.database.SQLiteDatabase.mRandom
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     19: int net.sqlcipher.database.SQLiteDatabase.mSlowQueryThreshold
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     20: java.lang.Throwable net.sqlcipher.database.SQLiteDatabase.mStackTrace
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     21: java.util.Map net.sqlcipher.database.SQLiteDatabase.mSyncUpdateInfo
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     22: int net.sqlcipher.database.SQLiteDatabase.mTempTableSequence
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     23: java.lang.String net.sqlcipher.database.SQLiteDatabase.mTimeClosed
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     24: java.lang.String net.sqlcipher.database.SQLiteDatabase.mTimeOpened
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     25: boolean net.sqlcipher.database.SQLiteDatabase.mTransactionIsSuccessful
12-17 23:29:42.136 20854-20854/com.sandy.savepass E/art:     26: net.sqlcipher.database.SQLiteTransactionListener net.sqlcipher.database.SQLiteDatabase.mTransactionListener
12-17 23:29:42.137 20854-20854/com.sandy.savepass A/art: art/runtime/jni_internal.cc:497] JNI FatalError called: RegisterNatives failed for 'net/sqlcipher/database/SQLiteDatabase'; aborting...
12-17 23:29:42.440 20854-20860/com.sandy.savepass W/art: Suspending all threads took: 136.883ms

#2

Hi @Sandip_Armal

There are a couple of items to consider. First, we do not include MIPS support in SQLCipher for Android. Secondly, since you are using ProGuard, you may likely be stripping out portions that are needed. You might try disabling ProGuard to see if that makes a difference. If so, you might also consider our sample ProGuard file here.