Unable to execute dex: java.nio.BufferOverflowException.

1.程序运行后异常显示:

java.nio.BufferOverflowException. Check the Eclipse log for stack trace.

缓冲区溢出错误。

2.解决方案

Unable to execute dex: java.nio.BufferOverflowException._第1张图片

eclipse中右键这个文件--->Build Path--> remove it from build path

重新编译即可正常运行。

你可能感兴趣的:(Unable to execute dex: java.nio.BufferOverflowException.)