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 Build a Simple Android App (retired 2014) Getting Started with Android Adding an OnClickListener to a Button

it wont let me organize imports

and when i type code red line line shows up saying its not a field?

1 Answer

What imports exactly are you trying to import? Either way here are a few trouble shooting techniques to get you started in troubleshooting this problem.

Make sure your SDK is up to date. (If you are trying to use functionality that is not installed, it will not work) Make sure you have included all libraries of which you are trying to access (For example any support libraries or Parse libraries need to be added) Double check spelling, (sometimes this is not always caught in Eclipse and spelling something wrong might cause this as well) Make sure you are using the correct shortcut key for your machine Ctl-Shift-O on PC, CMD-Shift-O on a Mac

Let me know what you come up with.

JMc