Android Dev Tip #1: java.lang.NoSuchMethodError: java.lang.System.arraycopy

Issue

You drag an object from the Tools Palette onto your device layout in Eclipse and encounter a java.lang.NoSuchMethodError: java.lang.System.arraycopy error.

Solution

You might be pushing the envelope a bit on the Android version you’re using to render the objects on your device layout. Dialing it back from, say, Android API 20 for v4.4 Wear to API 19 for v4.2.2 as shown below and we’re back in business.