1 <?xml version="1.0" encoding="utf-8"?> 2 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 xmlns:tools="http://schemas.android.com/tools" 4 package="com.android.tests.libstest.lib2.test" 5 android:versionCode="1" 6 android:versionName="1.0" > 7 8 <uses-sdk 9 android:minSdkVersion="15" 10 tools:ignore="UsesMinSdkAttributes" /> 11 12 <!-- 13 We add an application tag here just so that we can indicate that 14 this package needs to link against the android.test library, 15 which is needed when building test cases. 16 --> 17 <application android:label="testProjectTest-testlib" > 18 <uses-library android:name="android.test.runner" /> 19 </application> 20 21 <!-- 22 This declares that this app uses the instrumentation test runner targeting 23 the package of com.android.tests.testprojecttest.testlib. To run the tests use the command: 24 "adb shell am instrument -w com.android.tests.testprojecttest.testlib/android.test.InstrumentationTestRunner" 25 --> 26 <instrumentation 27 android:name="android.test.InstrumentationTestRunner" 28 android:targetPackage="com.android.tests.libstest.lib2.test" /> 29 30 </manifest>