Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
367 views
in Technique[技术] by (71.8m points)

java - Error in adding an edit text in eclipse

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

Go to

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

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...