Error when running Android app

Henoch picture Henoch · Nov 10, 2013 · Viewed 10.5k times · Source

After I updated to ADT 22.3 i get this error:

[2013-11-09 17:56:27 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2013-11-09 17:56:27 - Chinese Notecards] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

What do I do?

Answer

Rohit V picture Rohit V · Nov 25, 2013

Try removing the Android Dependencies from your project, in addition to the above suggestions.

Steps:

  1. Right Click on your project -> Build Path -> Configure Build Path...
  2. Remove Android Dependencies from the Libraries tab.

This worked in my case, but removing the Android Dependencies may introduce errors in your project. So, be sure to review the project dependencies.