Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

I Can't get the right compile version they are using

when you first get to the screen where you name it, below it has a bunch of settings that i try to copy down from the video but one of them is not available only API 19 is there. I have tried using the defaults and errors pop up that i can't fix. Please help.

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

You can proceed with API 19. This course will be refreshed some time in the near future so that the videos match perfectly. I tried to add notes on the screen and in the Teacher Notes section of that video to help guide you past issues like this. Let us know if you have any trouble after proceeding with API 19.

It is giving me errors. The message says "R cannot be resolved to a variable". This is strange because it's referring to default coding, nothing I've put in.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

This is an unfortunate common problem in Eclipse. See this previous Forum post and see if it helps.

What he said was not working so i deleted it and now two more errors show up saying:

layout can not be resolved or is not a field

menu can not be resolved or is not a field

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Those "cannot be resolved" errors means that something in your generated code has gone awry. Usually it's a problem with R.java that gets generated when you build your project. It's built from the files in your "res" directory. It could be a problem with one of those files, but in your case it sounds like maybe something just got out of sync in Eclipse. Maybe try some of the solutions listed here? http://stackoverflow.com/q/885009/475217

Tried what he told me to do and it is still not working.