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 trialessam rashad
245 PointsText in red, alt-enter doesn't work on new Android Studio, what should I do instead?
Hey,
Up till now everything has been very clear but this video used a lot of new jargon which made it very difficult to understand. For example, methods was not explained, among others. As a result Im just copying what Ben does on screen, but using the new Studio, some things are different. What is the idea behind importing, what is a private, and how do you suggest I import the thing (as alt-enter just brings up another window, unlike in the video)
Thanks a lot, E
2 Answers
Seth Kroger
56,413 PointsIf it gives you a menu with the top option of "Import class" use that. The blinking cursor needs to be directly on the red text, not just on the same line or elsewhere, when you type Alt+Enter.
The course does assume you know some Java already or you've taken the courses in the Java Track as a prerequisite to introduce you to the language first. If you're unfamiliar with the language I recommend taking those courses first.
Hector Garcia
1,772 PointsWith the latest Studio, hover over the red text and left click to underline then, alt + enter.
essam rashad
245 Pointsessam rashad
245 PointsThanks! I think I'll go back have have a look at the Java course first before continuing!