Thanks Mark for help....I finally got it working.  Have a nice
weekend.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="com.arcdroid.Vars"
      android:versionCode="1"
      android:versionName="1.0">


    <application android:name=".MyApp" android:icon="@drawable/icon"
android:label="@string/app_name">
        <activity android:name=".HelloApplication"
                  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>



</manifest>


Best,
http://www.arcdroid.com

On Apr 16, 8:06 am, Mark Murphy <[email protected]> wrote:
> On Sat, Apr 16, 2011 at 10:46 AM, ArcDroid <[email protected]> wrote:
> > Thanks for pointing that out, but still having troubles...I hope you
> > dont mind the direct email.
>
> Yes, actually, I do, which is why I am sending this back to the list.
>
>
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <manifest xmlns:android="http://schemas.android.com/apk/res/android";
> >      package="com.arcdroid.Vars"
> >      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>
>
> >    <application android:name=".MyApp"
> >       android:icon="@drawable/icon"
> >   />
>
> > </manifest>
>
> You want *one* <application> element in your manifest. Not two. Put
> the android:name attribute on your *existing* <application> element.
>
> Also, your manifest is saying that MyApp is both an Activity and an
> Application. That is impossible. If you look at your Java code for
> MyApp, you will see that it inherits from either Activity or
> Application. Please adjust your manifest to reflect which one it is.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!

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

Reply via email to