Exception details are logged in Window > Show View > Error Log
时间: 2014-06-30来源:开源中国
前景提要
HDC调试需求开发(15万预算),能者速来!>>>
Eclipse4.2.1 , ADT 23
新建空白项目,可以正常运行。
在布局界面拖一个EditText控件之后报错:
Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show View > Error Log

XML文件内容如下:
<RelativeLayout xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="top"
tools:context="${relativePackage}.${activityClass}" >
<EditText
android:id="@+id/editText1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginLeft="137dp"
android:layout_marginTop="134dp"
android:ems="10" android:inputType="text">
<requestFocus />
</EditText>
</RelativeLayout>
比较诡异的是运行起来在模拟器里EditText是正常的 。
其他控件都没问题,TextView,button等都可以正常拖进布局界面。
求解

科技资讯:

科技学院:

科技百科:

科技书籍:

网站大全:

软件大全:

热门排行