1、运行项目的时候报错:
[2013-12-16 17:59:22 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2013-12-16 17:59:22 - ringset_v1.1] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
解决办法:
删除掉项目下建立一个依赖包 Android Dependencies(还不行就删除所有,再重新导入),在eclipse中右键这个工程文件夹,在Build Path选项中选择 remove it from build path
2、错误:android项目报出错误emulator-5554 disconnected! Cancelling 'com.mine.AndroidActivity activity launch'
解决办法:
在此种情形下,重启ADB即可:
在eclipse下:
window -> Show Views -> device -> view menu -> Reset adb
或者在命令行状态下:
adb kill-server---再adb start-server