title: Android Exception raised during rendering
body: <p>I'm trying to preview my xml layout, but when I open it it gives me the following message:
  java.util.Locale.toLanguageTag()Ljava/lang/String; </p>
  
  <p>My java version: javac 1.8.0_25</p>
  
  <p>And I'm using android Studio, below is my xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal"
  
      android:id="@+id/linhaPedidos"
      android:clickable="false"&gt;
  
      &lt;LinearLayout
          android:layout_width="0dp"
          android:layout_height="wrap_content"
          android:layout_gravity="center_vertical"
          android:layout_weight="1"
          android:background="@drawable/list_selector"
          android:orientation="vertical"
          android:id="@+id/linearLayout8"
          android:layout_marginTop="5dp"
          android:layout_marginBottom="5dp"
          android:layout_marginLeft="10dp"
          android:layout_marginRight="10dp"
          android:paddingTop="10dp"
          android:paddingBottom="10dp"&gt;
  
          &lt;LinearLayout
              android:orientation="horizontal"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:weightSum="1"
  
              android:id="@+id/linearLayout"&gt;
  
              &lt;LinearLayout
                  android:layout_width="0dp"
                  android:layout_height="wrap_content"
                  android:layout_gravity="center_vertical"
  
                  android:layout_weight="1"
                  android:orientation="vertical"&gt;
  
                  &lt;LinearLayout
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center_vertical"
                      android:layout_weight="1"
                      android:orientation="horizontal"
                      android:id="@+id/linearLayout9"&gt;
  
                      &lt;TextView
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:id="@+id/numeroPedido"
                          android:text="123456 "
                          android:textSize="20sp"
                          android:duplicateParentState="true"
                          android:textColor="@color/text_color"
                          android:layout_marginRight="5dp"
                          android:paddingLeft="20dp"
                          android:paddingBottom="5dp"
                          android:paddingTop="3dp" /&gt;
  
  
                      &lt;LinearLayout
                          android:layout_width="fill_parent"
                          android:layout_height="wrap_content"
                          android:layout_gravity="center_vertical"
                          android:layout_weight="1"
                          android:orientation="horizontal"
                          android:id="@+id/linearLayout11"&gt;
  
                          &lt;TextView
                              android:layout_width="fill_parent"
                              android:layout_height="wrap_content"
                              android:text="19/10/2014 às 14:30"
                              android:id="@+id/data_criado"
                              android:duplicateParentState="true"
                              android:textColor="@color/text_color"
                              android:textSize="15sp"
                              android:drawableRight="@drawable/seta_hover"
  
                              android:gravity="center_vertical|right" /&gt;
                      &lt;/LinearLayout&gt;
  
                  &lt;/LinearLayout&gt;
  
                  &lt;TextView
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:id="@+id/pedidoID"
                      android:visibility="gone" /&gt;
  
                  &lt;LinearLayout
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_gravity="center_vertical"
                      android:layout_weight="1"
                      android:orientation="horizontal"
                      android:id="@+id/linearLayout10"&gt;
  
  
                  &lt;/LinearLayout&gt;
  
  
              &lt;/LinearLayout&gt;
  
  
  
  
          &lt;/LinearLayout&gt;
  
          &lt;View
              android:id="@+id/ViewEndereco"
              android:layout_height="8dip"
              android:layout_width="match_parent"
              android:background="@drawable/dot"
              android:layerType="software"
              android:orientation="horizontal"
  
              /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:id="@+id/statusPedido"
              android:text="Status"
              android:duplicateParentState="true"
              android:textColor="@color/text_color"
              android:textStyle="bold"
              android:textSize="16sp"
              android:paddingLeft="20dp"
              android:paddingTop="5dp" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>