2

I'm having issues compiling Parse.com code for sending notifications to Android users using Eclipse

I have imported the Parse-1.9.4.jar into my project (libs folder), Also i've ensured I ticked the box in Order & Export.

//This is ok is found
Parse.initialize(this, "xxxxx", "xxxxxx");

But i'm still getting a red warning 'Configure Build Path'

//This Line is causing issues
ParseInstallation.getCurrentInstallation().saveInBackground();

UPDATE: ERROR

Multiple markers at this line - The type bolts.Task cannot be resolved. It is indirectly referenced from required .class files - Line breakpoint:InboxActivity [line: 166] - onCreate(Bundle)

3
  • androidstudio or eclipse? Commented Aug 12, 2015 at 10:27
  • Sorry I forgot to mention it's eclipse Commented Aug 12, 2015 at 10:35
  • refer stackoverflow.com/questions/26622547/… Commented Aug 12, 2015 at 11:05

3 Answers 3

0

1) right click your project.

2) select build path-->configure build path.

3) update all the broken links in all tabs.

4) Go to project-->clean [project will be found at top menu of eclipse.]

5) Clean your project.

Sign up to request clarification or add additional context in comments.

6 Comments

What do you mean by "update all the broken links in all tabs."? thanks
did you seen any broken symbols?
No, I don't see broken symbols
then try clean project and reopen eclipse
|
0

Put this on Gradle file (build.gradle)

compile 'com.parse.bolts:bolts-android:1.2.0'

Comments

0

I needed to add the bolts-android-1.1.3 lib in my project. You can find it in the Parse SDK zip file.

1 Comment

You don't need the zip file, just add bolts library to your gradle file. See my answer, let me know if works :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.