The Android project complains "Type of bolts. The task cannot be solved. It indirectly refers to the required .class files"

I'm trying to take a Mealspotting training course , but after adding the Parse library I get strange errors. I found other similar errors when searching on Google, but nothing worked. Here is one. I also read to see Adding Support Libraries , but this did not fix it. Here's what I'm seeing in Eclipse

Exact text:

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 do not need support libraries or devices on which the application will work, all I want is for this so that I can go through the tutorial. Has anyone dealt with this before?

I also tried to create a project that only Kit Kit supports and removes support libraries, but it still throws the same error.

+7
android android-support-library
source share
2 answers

Try adding the bolts-android-1.1.3 lib project to the project. You can find it in the ZIP file of the Parse SDK file.

+28
source share

First, make sure you have the Parse library in the lib folder.

I had the same problem and I decided to add it by adding bolts-android-1.1.3.jar (right click on your project properties and then on the path to creating Java, tab libraries, add banks or external banks), which I found in Parse -1.7.1.

Then clean the project and it should work.

0
source share

All Articles