Solucionar error Unable to execute dex: java.nio.Buffer Overflow Exception

M'eixia aquest error i a stackoverflow he vist les següents solucions que m'han funcionat per a l'eclipse:

* Right click your project → android tools → android support library.


* First Right click on project and go to properties.
* Go to Java Build Path Screen (from left menu)
* Select Libraries Pane.
* Highlight Android dependencies
* Click Remove
* Click Ok.