Android: The type java.lang.Enum cannot be resolved

浪子不回头ぞ 提交于 2019-11-28 12:36:39

At best, your build path is messed up. Right-click over the project name, and choose Build Path > Configure Build Path from the context menu. This brings up the build path portion of the project properties window, on the "Order and Export" tab. If the Android JAR is not checked, check it, then close the properties window.

At worst, you are trying to build this project purely from the SDK, which is unlikely to work, because few of the AOSP apps are designed to be built outside of the full firmware build.

Macarse

It's not an android issue, it's an eclipse issue.

Check:

user1428735

I upgrade from JDK 1.6.0_24 to 1.6.0_32 and the problem is gone :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!