Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cordova can't build the project #59

Open
ehsand opened this issue May 21, 2015 · 8 comments
Open

cordova can't build the project #59

ehsand opened this issue May 21, 2015 · 8 comments

Comments

@ehsand
Copy link

ehsand commented May 21, 2015

cordova can't build the project with this plugin.
when i open the project in eclipse , eclipse shows error in ParsePlugin.java
error

@kotamat
Copy link

kotamat commented May 22, 2015

you can get bolts-android.XXX.jar from Parse.zip
and copy it to platform/android/lib/

@ehsand
Copy link
Author

ehsand commented May 22, 2015

thanks for your reply,
i do this and i get the apk,
but now app get "force close" every time receives notification.

@mobiRic
Copy link

mobiRic commented Aug 6, 2015

What is Parse.zip? I was unable to find that file, but found the bolts-android jar file here:

Anyone know how this can be fixed correctly, so that the plugin itself does that sort of copying?

I'm willing to put in some work to smooth out the issues, if I can ever get the lib working at all on Android.

@budda
Copy link

budda commented Aug 10, 2015

@mobiRic for my specific project I implemented a Cordova after_prepare hook to copy the file (and some other bits) into place for the android platform only.

@mobiRic
Copy link

mobiRic commented Aug 11, 2015

@Buddha good solution.

Meantime I've switched to using a different plugin which already includes the bolts jar file automatically - I hope to suggest a pull request soon to this repo which copies the required files using the plugin.xml config file.

mobiRic added a commit to mobiRic/phonegap-parse-plugin that referenced this issue Aug 21, 2015
Installs missing Bolts v1.2.1 library automatically.
@mobiRic
Copy link

mobiRic commented Aug 21, 2015

As you can see above, I have fixed this issue - pull request #73 pending.

@Buddha you can hopefully do away with your after_prepare hook once this has been accepted.

@Montoya
Copy link

Montoya commented Sep 3, 2015

I just removed this plugin and installed the one from your git branch after running into the same issue. Unfortunately I still have the same issue. Not sure if I'm doing something wrong here but I'm going to try copying the file manually.

I hope that your PR gets accepted but this plugin hasn't been maintained lately so who knows. If it doesn't maybe your branch will become the most popular one. Just in case, you should update your README.md so the install instruction points to your branch... currently it points to benjie's branch (not even avivais'!)

@mobiRic
Copy link

mobiRic commented Sep 11, 2015

@Montoya strange that it isn't working - maybe that's why the PR has not been accepted. I will try make some time to confirm on my end.

As for my fork of this project, I only did that to create the PR in order to fix this project.

On my work I use a different plugin that does things in a way I am more familiar with.

bal200 pushed a commit to bal200/parse-push-plugin that referenced this issue Apr 14, 2019
Reset badge method + badge count on android - credits etabard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants