"Android Tools" was retired on December 2, 2015.

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 Android Tools Getting Started with Android Studio Helpful Keyboard Shortcuts

Mike Fernandez
Mike Fernandez
4,991 Points

In the InteractiveStory app using Quickfix on text in Story.java file errors. ) and ; expected. ?

I tried to use Quickfix on the text in the Story.java file of the Interactive Story app but I got some odd errors as follows:

    mPages[0] = new Page(                                         // ')' expected
            R.drawable.page0,
            .getString(R.string.page_0_text),
            new Choice("Stop and investigate", 1),
            new Choice("Continue home to Earth", 2)); // unexpected ';'

I followed the IDE's suggestions but both created more errors as the constructor wasn't being used as expected. I thought to change how the constructor would be used but couldn't figure out what sort of argument the getString.