2010年11月27日 星期六

Android 出錯信息

出現如下出錯信息:
“no classfiles specified Conversion to Dalvik format failed with error 1”
or
Android requires .class compatibility set to 5.0. Please fix project properties.
解決方法:
1: 選擇project -> Android Tools ->Fix Project Properties.
重新 clean project
F5刷新工程
2:如果上面不管用,只能使用暴力一點的方法,複製源代碼到信的目錄. 包括AndroidManifest.xml, src/, assets/, res/. 選擇File-> New-> Android Project -> Contents - > Create project from existing source ->