title: Which package for MultiDexTestRunner? android.support.multidex or com.android.test.runner
body: <p>The page <a href="http://developer.android.com/tools/building/multidex.html#testing" rel="noreferrer">http://developer.android.com/tools/building/multidex.html#testing</a>
  advises</p>
  
  <pre><code>   dependencies {
       compile 'com.android.support:multidex:1.0.1'
       androidTestCompile 'com.android.support:multidex-instrumentation:1.0.1'
     }
     android {
       defaultConfig {
          multiDexEnabled true
          testInstrumentationRunner "android.support.multidex.MultiDexTestRunner"
       }
    }
  </code></pre>
  
  <p>But that produces a ClassNotFoundException when the tests are run.</p>
  
  <p>The API documentation and dexdump show that there is com.android.test.runner.MultiDexTestRunner.</p>
  
  <p>So if I disbelieve the documentation and instead specify </p>
  
  <pre><code>   dependencies {
       compile 'com.android.support:multidex:1.0.1'
       androidTestCompile 'com.android.support:multidex-instrumentation:1.0.1'
     }
    android {
       defaultConfig {
          multiDexEnabled true
          testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
       }
     }
  </code></pre>
  
  <p>Then I get</p>
  
  <pre><code>com/company/myapp/MyApp; had used a different Landroid/support/multidex/MultiDexApplication; during pre-verification 
  ...
  IllegalAccessExceptionIllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
  </code></pre>
  
  <p>I suspect that the doc page is wrong and the correct path is com.android.test.runner.MultiDexTestRunner ... plus I have some other issue.</p>
  
  <p>Note the multidex application works fine. Somehow a second MultiDexApplication is included in the test apk. </p>
  
  <p>Questions:<br>
  Which is the correct path for MultiDexTestRunner?
  Why am I getting a second MultiDexApplication in the test apk? </p>