将 org.acra.* 导入 android 项目会出现错误。

发布于 2024-12-24 23:55:38 字数 376 浏览 4 评论 0原文

我想将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

温柔少女心 2024-12-31 23:55:38

再次重新添加 jar 文件,Project->Clean 应该会处理它。

Re-add the jar file again and a Project->Clean should take care of it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文