title: how to run android unit test project
body: <p>I know this is silly question, but i am just stuck with this:</p>
  
  <p>1.I have one main project called MainProject.
  2. Inside that there is one test project which has its own source and menifest file and in menifest file i added all required to make it test project like this :</p>
  
  <pre><code>&lt;manifest
  xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.app.tests" android:versionCode="1"
      android:versionName="1.0"&gt;
      &lt;application&gt;
         &lt;uses-library android:name="android.test.runner" /&gt;
      &lt;/application&gt;
      &lt;uses-sdk android:minSdkVersion="3" /&gt;
  
  &lt;instrumentation android:name="android.test.InstrumentationTestRunner"
         android:targetPackage="com.example.app" android:label="Tests for My App" /&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Now i right click on it go to "Run As" and "Run Configuration" and select "Android JUnit Test" but it showing error:</p>
  
  <p><strong>MainProject does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml</strong></p>
  
  <p>Any help plz? </p>
  
  <p>There is one video link of @Lucifer below which is helpful and also my own answer which a link you can check which is also helpful.</p>