title: Android Idea test error message: Unable to attach test reporter to test framework android
body: <p>I'm trying to test an Android app following the instructions here:
  <a href="http://www.jetbrains.com/idea/webhelp/testing-android-applications.html" rel="nofollow">http://www.jetbrains.com/idea/webhelp/testing-android-applications.html</a></p>
  
  <p>and here</p>
  
  <p><a href="http://developer.android.com/guide/topics/testing/index.html" rel="nofollow">http://developer.android.com/guide/topics/testing/index.html</a></p>
  
  <p>When I run the test it says  "Instantiating Tests" for a while, then it says "Unable to attach test reporter to test framework or test framework quit unexpectedly."</p>
  
  <p>The emulator starts OK, but nothing shows up on it's screen.</p>
  
  <p>The console says:</p>
  
  <pre><code>Testing started at 11:41 AM ...
  Waiting for device.
  C:\Android\tools\emulator.exe -avd GoogleAPI_2_3_3 -netspeed full -netdelay none
  
  Device connected: emulator-5554
  Device is online: emulator-5554
  Target device: emulator-5554 (GoogleAPI_2_3_3)
  
  
  Uploading file
  local path: C:\Users\&lt;omitted details&gt;.apk
  remote path: /data/local/tmp/com.mycompany
  Installing com.mycompany
  DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.mycompany"
  pkg: /data/local/tmp/com.mycompany
  Success
  
  
  Running testsTest running startedFinish
  </code></pre>
  
  <p>Logcat doesn't seem to have anything helpful.  In particular it does not show the Log.d messages I put in my test.</p>
  
  <p>Interestingly enough someone else asked about this problem on the Intellij developer community forum:</p>
  
  <p><a href="http://devnet.jetbrains.net/message/5363961#5363961" rel="nofollow">http://devnet.jetbrains.net/message/5363961#5363961</a></p>
  
  <p>But the question has not been answered for several months.</p>
  
  <p>Anyone have any ideas for diagnosing the problem?</p>