安卓& java.util.concurrent.ConcurrentLinkedQueue

发布于 2024-08-29 01:53:12 字数 207 浏览 6 评论 0原文

我想在 android 应用程序中使用 ConcurrentLinkedQueue,已经编写了代码,但现在在项目构建时出现错误:

Conversion to Dalvik format failed with error 2

我正在使用 Eclipse 和最新版本的 ADT 插件。

我有什么想法可以解决这个问题吗?

I want to use ConcurrentLinkedQueue in an android application, have written the code, but now I'm getting an error when the project builds:

Conversion to Dalvik format failed with error 2

I'm using Eclipse with the lastest version of the ADT plugin.

Any ideas how I can fix this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

并安 2024-09-05 01:53:12

你有一个类路径问题。你不应该编译它。它在 Android API 中提供。

You have a classpath problem. You shouldn't have to compile it. It's provided in Android API.

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