Exception: Native method not found: net.sqlcipher.database.SQLiteDatabase.dbopen:(Ljava/lang/String;I)


#1

Hi,
I am getting
Exception: Native method not found: net.sqlcipher.database.SQLiteDatabase.dbopen:(Ljava/lang/String;I)

Notes :

  1. I have called loadlibs in the splash activity. which will destroy.
  2. it works fine in foreground.
  3. Problem will occur in case of background transition. I do use singleton classes for db transaction

Observation

  1. it is observed when application is in background for long time, and suddenly come to forground then it shows that exception.

#2

Hello @girish

You might consider moving your call to SQLiteDatabase.loadLibs(…); to within the context of your singleton to see if that changes the behavior of your application.