title: Cannot initialize MockMaker
body: <p>This is my testing class:</p>
  <pre><code>class RocketListVMTest {
  
      @get:Rule
      var instantTaskExecutorRule = InstantTaskExecutorRule()
  
      private lateinit var sut: RocketListVM
      private var activeOnlyToggle = false
  
      private val repo: Repo = mock()
  
      @Before
      fun setUp() {
          sut = RocketListVM(repo)
          activeOnlyToggle = false
      }
  
      @Test
      fun toggleActiveOnlyWithTrueCallsRepository() {
          sut.toggleActiveOnly(true)
  
          verify(repo).getActiveOnlyLocalRockets()
      }
  }
  </code></pre>
  <p>With the following dependencies:</p>
  <pre><code>androidTestImplementation &quot;com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0&quot;
  androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito-inline:2.21.0'
  androidTestImplementation 'androidx.test:runner:1.3.0'
  androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  androidTestImplementation 'android.arch.core:core-testing:1.1.1'
  </code></pre>
  <p>I have created <code>src/androidTest/resources/mockito-extensions/org.mockito.plugins.MockMaker</code> with <code>mock-maker-inline</code> inside.</p>
  <p>The test class fails because</p>
  <pre><code>java.lang.IllegalStateException: Could not initialize plugin: interface org.mockito.plugins.MockMaker (alternate: null)
  Caused by: java.lang.IllegalStateException: Failed to load interface org.mockito.plugins.MockMaker implementation declared in sun.misc.CompoundEnumeration@dd6cba3
  Caused by: org.mockito.exceptions.base.MockitoInitializationException: 
  Could not initialize inline Byte Buddy mock maker. (This mock maker is not supported on Android.)
  </code></pre>
  <p>How to fix this problem? None of the SO answers helped.</p>