Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
613 views
in Technique[技术] by (71.8m points)

parse platform - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...