Wednesday, January 14, 2015

Android application in Eclipse (Main.xml) is not displaying the Graphical Layout



Problem:-

I  opened the layout file main.xml in the eclipse. Ideally it should show the Graphical layout in Eclipse but it was giving an exception


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


Solution:-

As the below images shows. You have to deselect the W version of android. As this is for wearable devices. It was unable to render many components used in Standard Android.

So once you change the android version it starts to render properly.





Change the Android  Version from Drop Down

Add caption

1 comment: