Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚将 zbar 示例项目导入到 eclipse 中。我已经启动了 AVD,但是当我运行 zbar 示例时,我得到一个弹出窗口,说代码中有错误。
当我去寻找错误时,我唯一能找到的是下面显示的错误
我从 Eclipse 中删除了该项目并重新下载了 zip 文件并再次将其全部导入,但仍然具有相同的结果。有没有其他人遇到过这个问题?
R您的应用程序中现在有 2 个类:
R
您应该整理import说明以确保导入正确的R类或在R.
import
问题是我在导入时选择了错误的目标构建平台。
解决方案: