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

Rendering Problems - No render target selected - Android Studio

Hi i just downloaded all SDK APIs versions and after reopening Android Studio , in my .xml file i don't see my design-build.. And on bottom is message "Rendering Problems - No render target selected - Android Studio" Can anyone help me please? It looks like update have moved sdk in other folder, but i check again and it's still in AppData\Local\Android\Android Studio\sdk Because when i was installing these updates for sdk, message told me to close Android studio because he have to move sdk folder..

2 Answers

Robert Gray
Robert Gray
6,674 Points

Try unselecting "Automatically pick Best" in the Preview pane and select an older API when you view your layout XML. This is located in the menu bar where you select the device and theme you want your preview to use, all the way on the right.

Imgur

Attila Vago
PLUS
Attila Vago
Courses Plus Student 15,286 Points

Top menu bar on the left side of the AVD Manager button you have a "Sync Project with Gradle Files" button. Click that. Android Studio may become sluggish for like 5 seconds, but you'll also see a loading wheel in the project files tab, and possibly a yellow bar on the top of activity_main.xml tab saying that Gradle is syncing. In about 5 seconds everything will be up to date, and you will see the device as expected. Hope this helps.