Error when run "helloandroid"

by angger jatra » Sun, 14 Sep 2008 21:23:23 GMT


Sponsored Links
 when i run hello android like on
 http://code.google.com/android/intro/hello-android.html , my eclipse
show error like this :
                   Tag <activity> missing required attribute name.      

and on AndroidManifest.xml there is an error on line :
                  <activity class=".helloandroid"
android:label="@string/app_name">



can u help me to fix this ?

thanks before :)

--~--~---------~--~----~------------~-------~--~----~



Error when run "helloandroid"

by Megha Joshi » Mon, 15 Sep 2008 17:05:33 GMT


 2008/9/14 angger jatra <[EMAIL PROTECTED]>



change "class" to "android:name" as shown below:
<activity android:name =".helloandroid" android:label="@string/app_name">



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Adding static non scroll areas when using a list view.

Hi all,

Im trying to make a screen that lets me keep track of a list of
items.  I also want to be able to add a new one to the list while I am
looking at the list.  This means I need an add button somewhere on the
screen.  The problem with this is I am using a list view and no matter
how hard I try I can't get it to not hog the entire screen!  What I
would like, is for it to take the top 80% of the screen, with the
bottom of the screen being a toolbar that has stuff like add item.  I
have tried using weight settings to no avail.  Is my only option to
put it in the menu button??

Basically what I have right now is a screen that is a list, I nee a
screen that is a scrolling list plus an extra panel at the bottom that
doesnt scroll.  Think like frames in a web browser, but I just can't
get it to work.  Any pointers would be very appreciated.
--~--~---------~--~----~------------~-------~--~----~

2. Communication protocol question

Hi
I want develope desktop application that can read/write information
from my G1. I think write my desktop with C# or Java for Windows.
Please tell me what communication protocol i must use (OBEX, SyncML or
others)
Thanks

--~--~---------~--~----~------------~-------~--~----~

3. How do you step through (debug) from the Java layer into the Linux layer?

4. How to insert text inside android.widget.EditText ?

5. Can't Download SDK?!

6. "geo fix" yields incorrect values

7. webview addjavascriptinterface and complex types