Android / Eclipse "R cannot be resolved to a variable",
Members - Reputation: 208
Posted 02 April 2011 - 10:02 PM
...but after having searched every file in the created project I can't find this import line that in theory causes this error. I don't know what else to try, but I'm entirely new to Android and I'm sure the solution must be very obvious to anyone who has a clue...?
Members - Reputation: 198
Posted 03 April 2011 - 01:27 AM
If so you should have R.java in some folder named "gen". If not, look again at that Stack Overflow post, many possible solutions to that are mentioned there.