Search code examples
androidandroid-studiorenderingandroid-studio-2.0

Android Studio Rendering error with interactive stuff


i have a problem with android studio rendering things strangely, it only happens with the interactive stuff like buttons. how do i fix this? i do not understand what is happening! it can render buttons but not radio buttons, toolbars, check boxes, sliders etc.. what is going on? it works fine when i install it on a 'real' device (android phone) and on emulators

error with AS


Solution

  • One way to do it is changing the display API by clicking This button and changing the API.

    Another solution is to go to File>Invalidate Caches/Restart. This usually helps a lot of people.