Yeah, that was it, I actually just had to delete the import R.android. line. It all works now, thanks a lot for your help guys!
On Jan 20, 2:19 am, btilford <[email protected]> wrote: > Do you have an import for the R class? If so you need to make sure it > is the R class for your project and not from the android package. > > On Jan 19, 5:46 pm, Mike Wolfson <[email protected]> wrote: > > > Not sure but sounds like you need to add android.jar to the project > > classpath (somewhere in Project/properties menu of eclipse). > > > It's always the classpath. Good Luck. > > > On Jan 18, 8:26 pm, djupp <[email protected]> wrote: > > > > Hello all > > > I'm sorry, but I couldn't find anything searching for this (maybe I'm > > > just really bad at searching :)) > > > > The issue is the following: I'm trying to write a little app to learn > > > programming to android devices, but it seems as if my installation of > > > either Eclipse or the Android SDK is screwed up. > > > I cannot access any items from my R.java in my 'HelloWorld.java'; and > > > eclipse refuses to build. But the items are there in R.java (for > > > example: > > > public final class R { > > > [...] > > > public static final class id { > > > public static final int btn_clickme=0x7f050001; > > > public static final int txt_name=0x7f050000; > > > [...]) returns a "cannot resolve name" when used in findViewById > > > (R.id.txt_name). > > > > Any ideas? > > > Thank you very much! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

