Rob*_*Rob 33 eclipse git android project adt
我正在尝试将一个android项目导入Eclipse(来自Git,但我不认为它是相关的),我无法运行或编译它因为我收到这些错误:
Android requires compiler compliance level 5.0. Please fix project properties. Serval-Video-Discovery line 1 Android ADT Problem
Project 'Serval-Video-Discovery' is missing required source folder: 'gen' Serval-Video-Discovery Build path Build Path Problem
Run Code Online (Sandbox Code Playgroud)
我认为第一个并不是一个大问题,即使我真的不明白警告.
有趣的是文件系统中存在"gen"文件夹; 此外,我不能尝试创建它,因为它已经存在!
我该怎么做才能解决这个问题?
这是我试图导入的GitHub回购:https://github.com/rbochet/Serval-Video-Discovery
lvi*_*ani 31
Package Explorer -> Right click the project -> "Android Tools" -> "Fix Project Properties"
Project -> Clean
Run Code Online (Sandbox Code Playgroud)
无需重启eclipse即可修复
whi*_*cko 13
Android requires compiler compliance level 5.0. Please fix project properties.
Run Code Online (Sandbox Code Playgroud)
我有同样的问题,但没有这些答案帮助了我.我在这里找到了解决方案:
包资源管理器 - >右键单击项目 - >"Android工具" - >"修复项目属性"