Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Android (R cannot be resolved into a variable)


  • Please log in to reply
2 replies to this topic

#1 JUICYboy

JUICYboy

  • Members
  • 537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Anaheim, Ca
  • Local time:01:50 AM

Posted 19 December 2012 - 11:10 PM

Hello and Happy holidays to you your family and friends!

I am using Eclipse to develop android Projects

My Problem:
Even when I create new Android Application--> I get 2 errors: "R cannot be resolved to variable"
From:--> MyAppname--> src --> com --> philliptest --> mainActivity.java

I follow instructions here: http://stackoverflow.com/questions/11272882/r-cannot-be-resolved-to-a-variable-on-newly-installed-eclipse

But it does not help

I am assuming it's telling me some file paths are incorrect!?

Can someone give me some suggestions.?

Thank-you
Happy Holidays

Edited by JUICYboy, 19 December 2012 - 11:11 PM.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:11:50 PM

Posted 20 December 2012 - 12:35 PM

You have an error in your code.

#3 lhamil64

lhamil64

  • Members
  • 200 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States
  • Local time:01:50 AM

Posted 20 December 2012 - 06:00 PM

So you tried cleaning your project (by going to Project > Clean)?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users