Android Android Testing Androidx Deprecated Androidx.test.InstrumentationRegistry Is Deprecated January 01, 2013 Post a Comment Answer : You can use InstrumentationRegistry.getInstrumentation().getTargetContext() in the mos… Read more Androidx.test.InstrumentationRegistry Is Deprecated