出现如下出错信息:
“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 -> <your new location>
唉,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 -> <your new location>
唉,android的环境还不成熟啊!
本文介绍了解决Android开发中常见错误“noclassfilesspecifiedConversiontoDalvikformatfailedwitherror1”的两种方法。首先推荐使用自动修复工具,若无效则建议重新创建项目。
320

被折叠的 条评论
为什么被折叠?



