-
### Description
In memory Room databases cannot be tested with Robolectric while the same code works on an Android connected test.
### Robolectric & Android Version
Latest version `4.10.3` on a W…
-
在模块化架构中,为了减少模块间的耦合,尽量想在每个模块中持有相关的entity和DAO,但是ROOM数据库的架构需要注解所有的entity在一个抽象的AppDatabase类中,如果想减少耦合的话,需要在每一个业务module里声明一个AppDatabase单例,这样内存消耗就会过高,在官方文档中有这么一段备注:
> Note: If your app runs in a single proc…
-
When creating transactions with Room getting the following error logged to console. Tests still pass so its just noise, but should be fixed.
[Robolectric] com.example.android.architecture.blueprints.…
-
android.database.sqlite.SQLiteCantOpenDatabaseException:
at android.database.sqlite.SQLiteConnection.nativeOpen (SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.open (SQLiteC…
-
As requested from #98 (pasted from the clipboard, detailed report enabled):
```Version: 0.3.7
java.lang.RuntimeException: Exception in transaction
at android.arch.b.b.e.a(RoomDatabase.java:309)…
-
I'm migrating a big app from Dagger to Hilt, where we have a few JUnit Rules that had an `@Inject` annotated fields in them - used for things like deleting test data from Room Database, clearing some …
-
### Steps to reproduce/复现步骤
enable any module for system framework
### Expected behaviour/预期行为
no crash
### Actual behaviour/实际行为
system update crashes
```
FATAL EXCEPTION: Thread-8
…
-
### Steps to Reproduce
I have a scenario where the database is closed and reopened after initialization. I am encountering an issue intermittently.
SQLCipher version (can be identified by execut…
-
```
android.database.sqlite.SQLiteException: cannot rollback - no transaction is active (code 1)
at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
at android.database.sqlit…
dcboy updated
3 years ago
-
This is my Implementation
```
@DoorDatabase(
version = 1,
entities = [
TvmConfiguration::class
]
)
abstract class AtekDatabase : RoomDatabase() {
abstract fun tv…