Solved it!! :) not sure why, but i had accidentally but a : instead of
a / at @string/no_notes in the xml layout and this caused the project
not to generate the R.java file. thanks for the help anyways


On Jun 1, 2:41 pm, exax <[email protected]> wrote:
> I haven't imported R. anything. I put the minSdk in manually and it
> didn't help at all. It's still making errors wherever there is an
> R.variable saying that R. cannot being resolved to the variable. I
> have cleaned and rebuilt but to no avail. This is really confusing
> me??
>
> On May 27, 2:30 am, Peter Webb <[email protected]> wrote:
>
>
>
>
>
>
>
> > Your minimum SDK level is "greyed out"?
>
> > What happens if you directly enter the minSDK attribute into
> > Manifest.xml ????
>
> > This all seems somewhat remote from your original problem, of R.java
> > not being generated.
>
> > Have a look at the import declarations at the start of your file.
> > Quite possibly, you are alrady importing R.something as a result of a
> > boob or over-zealous cut and paste. Comment out all the import R.
> > statements. Run project clean. Try to complie. You should get errors
> > where you use R. The intellisense will offer some suggestions for
> > fixing; one of these will be importing the correct R file.
>
> > This may fix your problem.
>
> > On May 27, 6:04 am,exax<[email protected]> wrote:
>
> > > So I tried cleaning and rebuilding the project but still nothing is
> > > happening. I restarted eclipse and redid the project but it still
> > > doesn't work. I really think I need to be able to fill in that greyed
> > > out box. Does anybody know for sure/a way to fix the tutorial?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en

Reply via email to