2

I have developed android application on my PC using eclipse and everything is working great now I have copied that project into my laptop and imported it in eclipse work space.

My problem is when I am viewing xml files in res->layout folder eclipse showing java.lang.NoSuchMethodError: java.lang.System.arraycopy([CI[CII)V error but if I run the project everything works great.

error is shown if I click on GraphicalLayout tab and there is no error if I am working on xml file.

DCoder
  • 3,486
  • 7
  • 36
  • 68

1 Answers1

2

I'm pretty sure I've encountered this problem before. Check to make sure that the android version you are using to render the GUI (in the GUI builder) isn't using API 20W or something else unexpected. Look for the number next to the green android icon.

This link helped me out when I had the problem: Android app in Eclipse: Edit text not showing on Graphical layout

gonfy
  • 444
  • 6
  • 16