|
Re: Hello World! [message #822881 is a reply to message #822716] |
Sat, 17 March 2012 12:20 |
David Wegener Messages: 1445 Registered: July 2009 |
Senior Member |
|
|
On 03/17/2012 01:05 AM, Andrey Starikov wrote:
> Hi! :(
>
> There are three weeks I try to create my first project "Hello, World!" It is impossible to me overcome errors of
>
> compilation of the IDE. I have OS XP SP 3 Eclipse indigo classic. There are simple means - build -> rebuild, project
>
> -clean, automatic compilation--- do not help. The avtogenerated folder the gen is empty. I simply do not find file
>
> R.java anywhere.... I so understand, that it is necessary to compile manually files .... I tried .... It is impossible ... ...
>
> here are screenshots ...
>
> Excuse for my bad English...
>
>
This project appears much more complicated then the typical Hello World
program. You appear to be working with Android. Android and the
Android tools are provided by Google. They build their tools on top of
Eclipse. The Eclipse forums don't provide support for Android
development. You need to use the Google/Android support mechanisms.
In the case of your program, it isn't completely clear what R is. It
appears to be a class, but the class name of R would be quite strange.
If it really is a class, then it needs to imported into your class.
If it is supposed to be a variable, then it needs to be declared somewhere.
|
|
|
Re: Hello World! [message #822918 is a reply to message #822716] |
Sat, 17 March 2012 13:45 |
|
On 2012.03.17 0:05, Andrey Starikov wrote:
> Hi! :(
> There are three weeks I try to create my first project "Hello, World!" It is impossible to me overcome errors of
> compilation of the IDE. I have OS XP SP 3 Eclipse indigo classic. There are simple means - build -> rebuild, project
> -clean, automatic compilation--- do not help. The avtogenerated folder the gen is empty. I simply do not find file
> R.java anywhere.... I so understand, that it is necessary to compile manually files .... I tried .... It is impossible
> here are screenshots ...
> Excuse for my bad English...
I understand your frustration; I went through this too.
First, for the R.java problem, check out my notes at
http://www.javahotchocolate.com/tutorials/android.html#r-java
Second, check out Lars Vogel's fabulous Android tutorials at
http://www.vogella.de.
Third, understand that this had nothing to do with Eclipse, so your best
bet for support is an Android community forum. In my article, I list
several:
http://www.javahotchocolate.com/tutorials/android.html#support
Best of luck,
Russ
|
|
|
|
Powered by
FUDForum. Page generated in 0.08016 seconds