title: Error in android application testing
body: <p>Why i am getting following error while testing the application? <code>App1 does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml</code></p>
  
  <p>AndroidManifest.xml</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;application android:icon="@drawable/healthdiary" android:label="@string/app_name"&gt;  
       &lt;instrumentation android:name="android.test.InstrumentationTestRunner"
               android:targetPackage="HealthDiary1"
               android:label="@string/app_name" /&gt;
        &lt;uses-library android:name="android.test.runner"/&gt;
      &lt;activity android:name=".HealthDiary"
                android:label="@string/app_name"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  </code></pre>