I\'m trying to set up IntelliJ IDEA for programming android but I can\'t render the main.xml.
org.jetbrains.android.uipreview.RenderingException: This
There seems to be an incompatibility between IDEA and the latest release of the Android SDK Build-tools (18.1). Installing the slightly older version 18.0.1 should fix the problem.