hello everyone I am getting this error while writi...
# multiplatform
p
hello everyone I am getting this error while writing unitTestCases java.lang.IllegalStateException: No instrumentation registered! Must run under a registering instrumentation. at androidx.test.platform.app.InstrumentationRegistry.getInstrumentation(InstrumentationRegistry.java:45) at androidx.test.core.app.ApplicationProvider.getApplicationContext(ApplicationProvider.java:41) at com.autodesk.adp_mobile_sdk.facets.MessageTest.setUp(MessageTest.kt:24)
e
morning to do with Kotlin or multiplatform. you can't use Android context without a real Android implementation (e.g. instrumented tests) or a fake implementation (e.g. Robolectric unit tests)
180 Views