将 org.acra.* 导入 android 项目会出现错误。
我想将 ACRA 添加到 android 项目中。我根据链接执行步骤: http://code.google.com/p/acra/wiki/BasicSetup
我将jar文件添加到项目的lib文件夹中,并将其添加到构建中。但是当我尝试在 java 代码中添加一些 ACRA 的行时
import org.acra.*
,或者
ACRA.init(this);
我在 Eclipse 中收到错误。 那么,我该如何消除这个错误呢?谢谢。
I want to add ACRA into android project. I do the steps according to the link:
http://code.google.com/p/acra/wiki/BasicSetup
I added jar file to the lib folder in the project and I added it to build. But when I try to add some ACRA's rows in the java code like
import org.acra.*
or
ACRA.init(this);
I receive the errors in Eclipse.
So, how can I remove this errors? Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
再次重新添加 jar 文件,Project->Clean 应该会处理它。
Re-add the jar file again and a Project->Clean should take care of it.