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.lib1.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 18 android:icon="@drawable/ic_launcher" 19 android:label="@string/lib1_name" > 20 <uses-library android:name="android.test.runner" /> 21 </application> 22 23 <!-- 24 This declares that this app uses the instrumentation test runner targeting 25 the package of com.android.tests.testprojecttest.testlib. To run the tests use the command: 26 "adb shell am instrument -w com.android.tests.testprojecttest.testlib/android.test.InstrumentationTestRunner" 27 --> 28 <instrumentation 29 android:name="android.test.InstrumentationTestRunner" 30 android:targetPackage="com.android.tests.libstest.lib1.test" /> 31 32</manifest>