eclipse - Trying to get the Hello Android tutorial to work on Mac OS X Leopard -


i'm on mac os x leopard , installed adt plugin eclipse galileo. followed steps on android developer sdk page started. sdk version 2.2 api 8 revision 2 , used hello world tutorial found here:

http://developer.android.com/resources/tutorials/hello-world.html

when first created android application, saw error in eclipse console:

[2010-11-13 18:20:43 - helloandroid] error: unable open class file / users/mydirectory/documents/workspace/helloandroid/gen/com/example/ helloandroid/r.java: no such file or directory

i commented out line fill in few lines tutorial:

setcontentview(r.layout.main);

when ran app, launched emulator saw vertical screen on left said "android" , phone buttons on right. did not see "hello, android" text tutorial.

any ideas?

run project clean force r.java generation.

project -> clean... -> ok

this should make sdk build project correctly. same problem happens me pretty new projects.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -