Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.