您的位置:首页 > 移动开发 > Android开发

How to solve Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V in Android

2014-10-11 10:29 393 查看
So today, while writing an example for the JCG community, I came across the following exception, while trying to add an
EditText
element to my application:

Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V

Despite the fact that I selected
Android 4.4
(
API 19
) for my application, I noticed that the selected
Android API
in the
Graphical Layout
of my
XML
code was actually wrong:



So, the easy way, I clicked the dropdown to select again my initial option:



Note: the
Wear

versions don't support
EditText

elements and that's why we got the exception.
And of course, everything was fine after that:



Cheers!

转自:http://www.tuicool.com/articles/imQnMnb
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  android android studio
相关文章推荐