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

Willie Suggs
PLUS
Willie Suggs
Courses Plus Student 5,879 Points

how to fix android studio layout display editor?

i keep getting this Rendering Problems Android N requires the IDE to be running with Java 1.8 or later Install a supported JDK I have always had jdk 8, i typed javac -version into terminal and it said i was running jdk 8. I've deleted both android studio and jdk a few times followed by reinstalling them always reinstalling the jdk first

2 Answers

Kevin Faust
Kevin Faust
15,353 Points

Hi,

In your xml, above the android preview screen, there should be a toolbar. There should be a little android icon which you should click and select API 23 (or an API level lower than that). Right now, API 23 N preview is most likely selected. Your getting the error because android N isn't fully supported yet.

Here's a screenshot:

(https://snag.gy/SIde1O.jpg)

Let me know if that fixes it

mwalss
mwalss
3,282 Points

for me it only shows API 24 to select from. What else could I do?