安卓& java.util.concurrent.ConcurrentLinkedQueue
我想在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你有一个类路径问题。你不应该编译它。它在 Android API 中提供。
You have a classpath problem. You shouldn't have to compile it. It's provided in Android API.