android - Exception raised during rendering: java.lang.System.arraycopy -
i have strange problem new adt version. have downloaded new eclipse eclipse.org install adt on it. works fine; can create project android , thing work well, except:
when trying create 1 xml layout, following error:
exception raised during rendering: java.lang.system.arraycopy
and in error log see:
failed render set of icons analogclock, autoncompletetextview, button, smallbutton , ....
ff change edittext
textview
, error disappears. can run program warning, want see layout in graphical section.
my layout is:
<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/settingback" android:orientation="vertical" android:weightsum="480" > <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="50" android:gravity="right" android:orientation="horizontal" > <button android:id="@+id/close" android:layout_width="50dp" android:layout_height="match_parent" android:background="#00000000" /> </linearlayout> <view android:id="@+id/view1" android:layout_width="wrap_content" android:layout_height="0dp" android:layout_weight="20" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="40" android:orientation="horizontal" android:weightsum="320" > <view android:id="@+id/view8" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> <edittext android:id="@+id/textview1" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="240" android:gravity="center|right" android:background="#00000000"/> <view android:id="@+id/view9" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> </linearlayout> <view android:id="@+id/view2" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="20" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="35" android:orientation="horizontal" > <view android:id="@+id/view10" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> <edittext android:id="@+id/textview2" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="240" android:gravity="center|right" android:background="#00000000" /> <view android:id="@+id/view11" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> </linearlayout> <view android:id="@+id/view3" android:layout_width="wrap_content" android:layout_height="0dp" android:layout_weight="10" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="35" android:orientation="horizontal" > <view android:id="@+id/view12" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> <edittext android:id="@+id/textview3" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="240" android:gravity="center|right" android:background="#00000000"/> <view android:id="@+id/view13" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> </linearlayout> <view android:id="@+id/view4" android:layout_width="wrap_content" android:layout_height="0dp" android:layout_weight="105" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="40" android:orientation="horizontal" > <view android:id="@+id/view14" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> <edittext android:id="@+id/textview4" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="240" android:gravity="center|right" android:background="#00000000" /> <view android:id="@+id/view15" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> </linearlayout> <view android:id="@+id/view5" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="5" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="40" > <view android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> <edittext android:id="@+id/textview6" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="240" android:gravity="center|right" android:background="#00000000" /> <view android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="40" /> </linearlayout> <view android:id="@+id/view6" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="20" /> <linearlayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="30" android:orientation="horizontal" android:weightsum="320" > <view android:id="@+id/view16" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="90" /> <checkbox android:id="@+id/shake" android:layout_width="0dp" android:layout_height="match_parent" android:layout_gravity="center" android:layout_weight="70" android:gravity="center" /> <view android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="10" /> <checkbox android:id="@+id/ring" android:layout_width="0dp" android:layout_height="match_parent" android:layout_gravity="center" android:layout_weight="70" android:gravity="center" /> <view android:id="@+id/view17" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="80" /> </linearlayout> <view android:id="@+id/view7" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="30" /> </linearlayout>
i searched answer here didn't find any. how can fix this?
ps: problem happened on adt 23 - tried adt 22.6, , worked well.
this problem happened on api 20 ( android 4.4 w ) have problem problem solved changing android version use rendering level form api 20 ( android 4.4 w ) api 19 (android 4.4.2) ( android icon in top right corner of graphical layout ) or update sdk android l ( api 20 l preview )
screen shot :
Comments
Post a Comment