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