我在android studio中運行junit測試用例時遇到問題。 的問題是,當我運行測試用例首次在手機它完全罰款很奇怪,但如果應用程序已經安裝,當我運行測試用例我收到以下錯誤: -SQLiteException不在net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)的錯誤
net.sqlcipher.database.SQLiteException: not an error
at net.sqlcipher.database.SQLiteDatabase.dbopen(Native Method)
at net.sqlcipher.database.SQLiteDatabase.<init>(SQLiteDatabase.java:1942)
at net.sqlcipher.database.SQLiteDatabase.openDatabase(SQLiteDatabase.java:875)
at net.sqlcipher.database.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:907)
at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:132)
at net.sqlcipher.database.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:99)
所有sqlcipher依賴關係都已正確配置。