Did not work

93 views
Skip to first unread message

Rene Grothmann

unread,
Apr 16, 2010, 12:32:38 PM4/16/10
to vogella
I have tried the tutorial at http://www.vogella.de/articles/Android/article.html
about Android.

However, it did not work completely here. I could complete 3.3 "Create
and use attributes". For 3.4, I noticed that my Eclipse had not
generated the R.java file. There is a "gen" directory, but it is
empty. Consequently, the Hello.java file complains about a missing
class "R". The Eclipse version is 3.5.1. Everything else is just as in
the tutorial.

By the way, a second attempt to start the Android emulator failed. Is
that normal. I will reboot and try again.

Thanks for the tutorial anyway.

Rene
http://www.rene-grothmann.de


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

Lars Vogel

unread,
Apr 19, 2010, 11:16:15 PM4/19/10
to vog...@googlegroups.com
Hi,

strange. Which platform (OS) are you using. 

Best regards, Lars

2010/4/16 Rene Grothmann <renegr...@googlemail.com>



--
Lars
http://www.vogella.de - Tutorials about Java, Eclipse and Web programming
http://www.twitter.com/vogella - Lars on Twitter

Eva Kimathi

unread,
Apr 20, 2012, 8:58:43 AM4/20/12
to vog...@googlegroups.com
Hello, 

Finally, I found this question. Mine is a similar situation. I am running on fedora 16 32 bit. Guided by your tutorial and the guidelines on the android blog, i installed eclipse and the android sdk without a hitch. I, however, have tried the temperature convert and even, a simple hello world, but i get the following errors.

  • Parsing Data for android-15 failed org/w3c/dom/ElementTraversal
  • R cannot be resolved into a variable

I am running the latest Java jre and jdk and an updated android SDK (r19). A java program can compile and run on eclipse, but I cannot get my first android project to work. I also have an empty gen folder. 

Please help.

Kind regards,
eva kimathi.


On Tuesday, April 20, 2010 6:16:15 AM UTC+3, vogella wrote:
Hi,

strange. Which platform (OS) are you using. 

Best regards, Lars

2010/4/16 Rene Grothmann <renegr...@googlemail.com>
I have tried the tutorial at http://www.vogella.de/articles/Android/article.html
about Android.

However, it did not work completely here. I could complete 3.3 "Create
and use attributes". For 3.4, I noticed that my Eclipse had not
generated the R.java file. There is a "gen" directory, but it is
empty. Consequently, the Hello.java file complains about a missing
class "R". The Eclipse version is 3.5.1. Everything else is just as in
the tutorial.

By the way, a second attempt to start the Android emulator failed. Is
that normal. I will reboot and try again.

Thanks for the tutorial anyway.

Rene
http://www.rene-grothmann.de


--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/vogella?hl=en.




--
Lars
http://www.vogella.de - Tutorials about Java, Eclipse and Web programming
http://www.twitter.com/vogella - Lars on Twitter

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.

vogella

unread,
Apr 20, 2012, 9:06:59 AM4/20/12
to vog...@googlegroups.com
Hi,

sounds like the classical "Clean" problem. Please see here: http://www.vogella.com/articles/Android/article.html#problems

Best regards, Lars

Eva Kimathi

unread,
Apr 20, 2012, 9:26:06 AM4/20/12
to vog...@googlegroups.com
Hello,
 

    I have used the clean tool, and still nothing. 

vogella

unread,
Apr 20, 2012, 9:39:07 AM4/20/12
to vog...@googlegroups.com
Which example are you looking at?

Eva Kimathi

unread,
Apr 20, 2012, 9:43:44 AM4/20/12
to vog...@googlegroups.com
hi, 

Eva Kimathi

unread,
Apr 20, 2012, 9:50:50 AM4/20/12
to vog...@googlegroups.com

I am looking at the Temperature convert in section 10 of http://www.vogella.com/articles/Android/article.html

attached is a screenshot of my IDE. I hope it helps you help me. 

Thanks


On Friday, April 20, 2012 4:39:07 PM UTC+3, vogella wrote:
vogella1.png

Lars Vogel

unread,
Apr 20, 2012, 9:51:42 AM4/20/12
to vog...@googlegroups.com
Sounds like a Fedore bug: https://bugzilla.redhat.com/show_bug.cgi?id=710815

2012/4/20 Eva Kimathi <evaki...@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/n5yqtUrzOt4J.

To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/vogella?hl=en.



--
Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials

Eva Kimathi

unread,
Apr 20, 2012, 9:56:29 AM4/20/12
to vog...@googlegroups.com
oh. ok. Is there a workaround to it? 


On Friday, April 16, 2010 7:32:38 PM UTC+3, Rene Grothmann wrote:
I have tried the tutorial at http://www.vogella.de/articles/Android/article.html
about Android.

However, it did not work completely here. I could complete 3.3 "Create
and use attributes". For 3.4, I noticed that my Eclipse had not
generated the R.java file. There is a "gen" directory, but it is
empty. Consequently, the Hello.java file complains about a missing
class "R". The Eclipse version is 3.5.1. Everything else is just as in
the tutorial.

By the way, a second attempt to start the Android emulator failed. Is
that normal. I will reboot and try again.

Thanks for the tutorial anyway.

Rene
http://www.rene-grothmann.de


--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.

Lars Vogel

unread,
Apr 20, 2012, 10:04:08 AM4/20/12
to vog...@googlegroups.com
Check and ask in the bug report. 

2012/4/20 Eva Kimathi <evaki...@gmail.com>
To view this discussion on the web visit https://groups.google.com/d/msg/vogella/-/YqsCd4Xm85IJ.

To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+u...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/vogella?hl=en.

Eva Kimathi

unread,
Apr 20, 2012, 10:07:28 AM4/20/12
to vog...@googlegroups.com
Hey Lars, 

Thank you for pointing me in the right direction. 

I appreciate your help. I hope I my problem gets resolved.

Cheers and enjoy your weekend.


On Friday, April 16, 2010 7:32:38 PM UTC+3, Rene Grothmann wrote:
I have tried the tutorial at http://www.vogella.de/articles/Android/article.html
about Android.

However, it did not work completely here. I could complete 3.3 "Create
and use attributes". For 3.4, I noticed that my Eclipse had not
generated the R.java file. There is a "gen" directory, but it is
empty. Consequently, the Hello.java file complains about a missing
class "R". The Eclipse version is 3.5.1. Everything else is just as in
the tutorial.

By the way, a second attempt to start the Android emulator failed. Is
that normal. I will reboot and try again.

Thanks for the tutorial anyway.

Rene
http://www.rene-grothmann.de


--
You received this message because you are subscribed to the Google Groups "vogella" group.
To post to this group, send email to vog...@googlegroups.com.
To unsubscribe from this group, send email to vogella+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages