R is an autogenerated class. You should have a "gen" folder inmediatly
below your project, and an R.java file there below your project's
package name.

If the file is not being generated, may be there is some other problem
with your installation.

Google for "R cannot be resolved into a variable", there is a lot of
answers on stackoverflow from people with similar issues. Maybe someone
can fit your problem.

Regards,


On 11/07/12 13:43, ideaman wrote:
> Hi,
> I have installed Eclipse Juno 4.2
> the Android SDK
> the Eclipse plugin
> and have Java 7 update 3 and Java 6 update 30
> Everything seems ok, besides one small problem, it doesn't work.
> I create a new Android project and then I have the following errors:
> on the Android Manifest.xml I have 2 of these errors: 
> com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Parser 
> exception for C:\Users\Daniel\workspace\Talk1\AndroidManifest.xml: The 
> markup in the document following the root element must be well-formed.
> on the mainActivity .java I have the following error: in this line => 
> setContentView(R.layout.activity_main); I see on the side "R cannot be 
> resolved into a variable". 
> This happens immediately after the wizard finishes, I didn't have the 
> chance to make any changes or write a line of code and I already have 
> errors that I don't know how to solve.
> Please HELP!!!!!!
>
> Daniel
>
>


-- 
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