????2)AndroidManifest.xml

 

<span style="font-size:14px;"><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.medivh.app"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
<activity android:name=".MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<span style="color:#FF0000;"><uses-library android:name="android.test.runner" /></span>
</application>
<uses-sdk android:minSdkVersion="8" />
<span style="color:#FF0000;"><instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.medivh.app" android:label="Tests for My App" /></span>
</manifest> </span>

????3)????
??????????Run as.. Android Junit Test ??????
??????????????????????????
????No instrumentation runner found for the launch?? using android.test.InstrumentationTestRunner
????First does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml
????is not configured correctly for running tests
?????????????飬???????????????????????????????????????????????bin?????AndroidManifest.xml?????????????????????????????????????????????????????С???????