title: Is JUnit really unable to find my test class in android studio?
body: <p>I read the solution to <a href="https://stackoverflow.com/questions/28843304/how-to-run-a-simple-junit4-test-in-android-studio-1-1">How to run a simple JUnit4 test in Android Studio 1.1?</a> and verified my gradle plugin version is greater than 1.1</p>
  
  <p>Right Clicking my junit 4 test class and selecting run gives this error in android studio:</p>
  
  <pre><code>Cannot find class com.me.android.javamodule.MyTestClass
  </code></pre>
  
  <p>My android proj dir looks like:</p>
  
  <pre><code>In module "app":
  src--&gt;main
  src--&gt;test--&gt;java--&gt;com.me.android.working contains WorkingTest.java
  src--&gt;test--&gt;java--&gt;com.me.android.javamodule contains MyTestClass.java
  </code></pre>
  
  <p>"javamodule" is a regular java module that the app module depends on, it is a sibling to the "app" module.</p>
  
  <p>I don't think the error is accurate because I copied "MyTestClass.java" into com.me.android.working, which contains WorkingTest.java, a Junit4 test that CAN run.  Android Studio still complains with the same error.</p>
  
  <p>Here is MyTestClass.java</p>
  
  <pre><code>package com.me.android.javamodule;
  import org.junit.Before;
  import org.junit.Test;
  
  public class MyTestClass {
      private Solver solver;
  
      @Before
      public void init() {
          solver = new Solver();
      }
  
      @Test
      public void testReverse() {
          assertTrue(solver.parseStr("woof").equals("foow"));
      }
   }
  </code></pre>