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