在加入Eclipse中编辑文本错误文本、错误、编辑、Eclipse

2023-09-05 01:33:06 作者:酒易醉、伈易碎

我建立了一个平板电脑的Andr​​oid应用程序。我想添加一个的EditText 我在Eclipse图形视图,但每当我的EditText 从小部件和下拉列表中选择以图形视图,屏幕变成灰色,我得到这个错误

I'm building an Android app for a tablet. I'm trying to add an EditText in my graphical view in Eclipse but whenever I choose EditText from the widget and drop to the graphical view, the screen turn gray and i get this error

" Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show View > Error Log"

如何解决这个问题呢?

How to fix this problem?

推荐答案

在新的更新来了4.4W(Android Wear)和他不支持的EditText ,所以解决正在删除4.4W最好的,简单的方法。

In the new update come the 4.4W (Android Wear) and he doesnt support EditText, so the best and simple way to solve is deleting 4.4W.

窗口> Android的SDK管理器>检查机器人4.4W(API 20)>删除   包装

Window > Android SDK Manager > check Android 4.4W(API 20) > Delete package

也许你无法创建一个新的项目,所以你回SDK管理器和下载另一个版本的类似4.4.2(API 19)。

Maybe then you can't create a new project, so you back to SDK manager and download another version like 4.4.2(API 19).

这对我的作品,希望你也一样。

It works for me, hope for you too.