android--3.1.

来源:互联网 发布:淘宝无线端连接 编辑:程序博客网 时间:2024/06/08 04:34
Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
最新的19版本会在你的项目下建立一个依赖包 Android Dependencies,在eclipse中右键这个文件夹,在Build Path选项中选择 remove it from build path。。。然后就没问题了。。希望可以帮助到大家。
1:eclipse如何显示行数
Window->Preferences->General->Editors->Text Editors->Show line numbers
2:在xml文件中,提示的错误信息
Unexpected text found in layout file: """

设置为显示隐藏字符,然后有些回车或者空格显示为蓝色的,就是出错的字符,删掉就是了。这是因为不同系统的回车等符号有所不同造成的……按说Eclipse自己能改掉才对啊。
时你格式化代码(英文键盘下,Ctrl+Shift+F),就能看到你多敲的"了,有时在布局文件中多敲的字符eclipse没有显示,这时你不知道哪里错了,可以格式化代码试下。。。