Sorry ..inside the applicationtag

On Thu, Sep 10, 2009 at 5:03 PM, Urs Grob <grob....@gmail.com> wrote:
> You need to add <uses-library android:name="android.test.runner" />
> inside the activity tag.
>
> example:
> http://developer.android.com/guide/samples/ApiDemos/tests/AndroidManifest.html
>
> -- Urs
>
> On Thu, Sep 10, 2009 at 4:20 PM, WoodManEXP <woodman...@gmail.com> wrote:
>>
>> Oh, here ya go.
>>
>> Looking under Eclipse's Run->Run Configurations menu choice. Under
>> that one can select a target AVD for the Android Application. That
>> seems to do the trick. So if you get such an error try tinkering with
>> the Run Configurations.
>>
>> On Sep 10, 10:04 am, WoodManEXP <woodman...@gmail.com> wrote:
>>> Here is the AndroidManifest.xml file:
>>>
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>>>       package="com.myApp"
>>>       android:versionCode="1"
>>>       android:versionName="1.0">
>>>     <application android:icon="@drawable/icon" android:label="@string/
>>> app_name">
>>>         <activity
>>>              android:name=".myApp"
>>>              android:label="@string/app_name"
>>>             >
>>>             <intent-filter>
>>>                 <action android:name="android.intent.action.MAIN" />
>>>                 <category
>>> android:name="android.intent.category.LAUNCHER" />
>>>             </intent-filter>
>>>         </activity>
>>>     </application>
>>>     <uses-sdk android:minSdkVersion="3" />
>>>     <instrumentation
>>>         android:name="android.test.InstrumentationTestRunner"
>>>         android:targetPackage="com.myApp"
>>>         android:label="myApp" />
>>> <uses-permission android:name="android.permission.INTERNET"></uses-
>>> permission>
>>> </manifest>
>>>
>>> On Sep 10, 9:50 am, WoodManEXP <woodman...@gmail.com> wrote:
>>>
>>>
>>>
>>> > Today Eclipse is telling me
>>>
>>> > "ERROR: Application does not specify a
>>> > android.test.InstrumentationTestRunner instrumentation or does not
>>> > declare uses-library android.test.runner"
>>>
>>> > whenever I select the Run choice of the Run menu.
>>>
>>> > What does this mean?
>>>
>>> > The AVD manager is listing the target avd. The avd will launch with
>>> > the emulator command.
>>>
>>> > I have issued the Run->Run command a many times before w/out this
>>> > happening.
>>>
>>> > Can anyone help me understand what this mens and how to correct it?
>>>
>>> > Thank you!- Hide quoted text -
>>>
>>> - Show quoted text -
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to