首页 > 代码库 > Android - Exception raised during rendering: java.lang.System.arraycopy

Android - Exception raised during rendering: java.lang.System.arraycopy

Exception raised during rendering: java.lang.System.arraycopy


本文地址: http://blog.csdn.net/caroline_wendy


Error: Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
错误导致UI无法显示,原因是Android的SDK使用Level20的可穿戴版本,下载其它的SDK即可。

基本原因是Android SDK的路径选择错误,可以修改SDK路径,
就是把Project Structure中(Command+;),把SDK Location修改至SDK的最新路径。

参考:
http://stackoverflow.com/questions/25636400/exception-raised-during-rendering-java-lang-system-arraycopyciciiv-exceptio
http://stackoverflow.com/questions/16581752/android-studio-how-to-change-android-sdk-path


The issue is because you are using the API level 20 for wearable devices. You need to download other sdk through the Android SDK Manager.
In Eclipse, open windows->android sdk manager->select Android 4.4.2 and check Android sdk and ARM system image and click install packages
Now you have the API level 19 source code so eclipse will now be able to render the views
Now go to the graphical layout tab of the layout and change the android version from 20 to 19.


Android - Exception raised during rendering: java.lang.System.arraycopy