Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android project complaining "The type bolts.Task cannot be resolved. It is indirectly referenced from required .class files"

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.Here's what I'm seeing in Eclipse

Exact text is:

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.

like image 763
Steven Spasbo Avatar asked Oct 29 '14 03:10

Steven Spasbo


1 Answers

Try to add the bolts-android-1.1.3 lib in your project. You can find it in the Parse SDK zip file.

like image 67
Emergency Exit Avatar answered Oct 08 '22 00:10

Emergency Exit