打包的时候报错,错误是:Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. 原因是目标代码的系统版本从4.X降低到2.X 因为最新的19版本会在你的项目下建立一个依赖包 Android Dependencies,在eclipse中右键这个文件夹,在Build Path选项中选择 remove it from build path