Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8711609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:55:11+00:00 2026-06-13T04:55:11+00:00

I ran into the dreaded R cannot be resolved to a variable error after

  • 0

I ran into the dreaded “R cannot be resolved to a variable” error after doing a Project > Clean. I tracked the problem down to my main.XML file (wasnt the typical import.R in the java) . It was giving an error along the lines of “error parsing XML” at the end of my LinearLayout. To fix it I had to clear out all the code in my main.XML, save the changes, then retype it. That fixed the R cannot be resolved. However, my buttons are no longer visible in either the graphical layout image or while running on a device. I have an edittext at the top which is still visible, but the buttons below it no longer show up. Project > Clean doesn’t fix it, exiting and restarting Eclipse hasnt fixed it, typing in a harmless string or adding another button and saving hasnt fixed it. My gen file is there, and its showing the layout. Thoughts on where else to look?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:55:13+00:00Added an answer on June 13, 2026 at 4:55 am

    Aske B. answered the question for me with the links he provided, there was a problem in the the XML.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I ran into a strange problem today, after renaming a couple of images in
Ran into an Out of Stack Space error trying to serialize an ASP.Net AJAX
Ran into something interesting, want to know if I'm doing something wrong or if
Ran into this error message while trying to select some records off a table.
I ran into a problem using Springsource Tool Suite when writing some groovy scripts
I ran into a problem that suggests I may be implementing a design pattern
I ran into a problem or maybe even a MySQL limitation. The situation is
Ran into an interesting problem with a MySQL table I was building as a
Ran into a strange problem in PHP today and I'm wondering if someone can
I ran into a small problem with floats that i demonstrate in this fiddle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.