I'm trying to run android tests from the terminal(gradlew connectedAndroidTest), all tests run and pass successfully, but at the end of the i'm filing with an errorTest run failed to complete. Instrumentation run failed due to Process crashed.
I am use jetpack compose and junit
java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: android.content.res.Resources$NotFoundException: String resource ID #0x7f10002b
junit:junit:4.13.2
androidx.test:core:1.5.0
androidx.compose.ui:ui-test-junit4:1.5.3
androidx.compose.ui:ui-test-manifest:1.5.3
androidx.test:runner:1.5.0
agp = 8.2.2
compileSdk = 34
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"I tried allocating more memory to the emulator, but it didn't help.