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

kelvin gwaruka
kelvin gwaruka
931 Points

Cant create page array

In the page class, I get an 'can not resolve symbol' for Page, error when i enter,

private Page [] mPages;

When I press alt + Enter, the only Pages I get are PDF document and PDF render.

Please help.

Seth Kroger
Seth Kroger
56,412 Points

Did you create your Page class already? Are there any errors in your Page class? Is it in the same folder as the class you are trying to use it in or some other?

1 Answer

kelvin gwaruka
kelvin gwaruka
931 Points

I have resolved it. I had put pages with capital letter 'P' but small letter p seems to work. Thanks for your quick response Seth Kroger.