android studio sdk version 22 exception during rendering: action_bar

Ali Aras picture Ali Aras · Mar 13, 2015 · Viewed 36.7k times · Source

When I create a new project on android studio it is not giving any problem. However, looking at the activity_main.xml design it is shows me this:

Rendering Problems Exception raised during rendering: action_bar.

when I change sdk level 22 to 21 from the design page android studio shows nothing

How can I solve this problem? This is not important problem but I wondered how can I fix this.

Answer

Dave Fisher picture Dave Fisher · Mar 15, 2015

Yeah just had to adjust the Android level in the drop down. The design tab preview in API level 22 is broken right now. I looked that the stack trace for the error and it has something to do with needing the alpha channel. I'm sure Google will fix it Monday. :) enter image description here