0

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.
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.