问题描述
我试图通过解析 Mealspotting 的教程,但加入了解析库后,我发现了奇怪的错误。我发现,曾其他类似的错误,而谷歌搜索,但一无所获。 Here's之一。我也看了看添加支持库,但没T修复它。
I'm trying to go through the Parse Mealspotting tutorial, but after adding the Parse library I'm getting weird errors. I've found other similar errors while googling, but nothing that has worked. Here's one. I also read to look at Adding the Support Libraries, but that didn't fix it.
确切的文字是:
在该行多个标记 - 类型bolts.Task无法得到解决。这是间接地从必需的.class文件中引用 - 类文件任务<>包含一个特征码Ljava / UTIL / SET< Lbolts /任务< *> .TaskCompletionSource;取代;病态形成 位置30
Multiple markers at this line - The type bolts.Task cannot be resolved. It is indirectly referenced from required .class files - The class file Task<?> contains a signature 'Ljava/util/Set<Lbolts/Task<*>.TaskCompletionSource;>;' ill-formed at position 30
我不关心,支持库或者是设备上的应用程序将工作,我想要的就是这个工作,所以我可以去通过本教程。有没有人处理过?
I don't care about the support libraries or what devices the app will work on, all I want is for this to work so I can go through the tutorial. Has anyone dealt with this before?
我也尝试创建只支持奇巧,并删除了支持库的一个项目,但它仍然抛出了同样的错误。
I have also tried creating a project that only supports Kit Kat and removed the support libraries, but it's still throwing the same error.
推荐答案
尝试添加螺栓-的Android 1.1.3的lib在您的项目。你可以找到它在解析SDK zip文件。
Try to add the bolts-android-1.1.3 lib in your project. You can find it in the Parse SDK zip file.
这篇关于Android项目抱怨与QUOT;类型bolts.Task无法得到解决。这是间接地从必需的.class文件&QUOT参考;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!