-
-
Notifications
You must be signed in to change notification settings - Fork 735
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
Duplicate class bolts.* #1028
Comments
Temporally fixed by adding:
and forking ParseLiveQuery, those are "pointing" to older ParseSDK |
Thanks for the bug report -- parse-community/ParseLiveQuery-Android#107 |
i have the same erro error :Program type already present: bolts.AndroidExecutors Libs: i try --> exclude group: 'com.parse.bolts', module: 'bolts-tasks'; but not solved my problem |
Yes i still that issue too, but i did solve it whit this: |
not solved to me :( get the same error: AGPBI: {"kind":"error","text":"Program type already present: bolts.AggregateException","sources":[{}],"tool":"D8"} |
Can you list out all your dependencies and version numbers? |
|
If you remove live-query, does it work? |
not,the error continue |
Pc-cesar can you paste the error message? |
This is the error I get:
|
The This creates a
The original Bolts framework is still being used by the Facebook Android SDK which is transitively added by the Parse Android SDK and/or as a regular project dependency.
The result is the same
Note: The underlying issue seems to be that the Bolts framework and the Parse Platform share the same package domain |
|
Adding a test case would be very difficult since it involves including the Facebook SDK too and is a compilation issue, not a code issue. The release is broken for those who use the Facebook SDK + Parse-SDK, not everyone. Totally agree with having more maintainers though, this is a huge SDK with lots of nuance to it, so the more maintainers, the better. |
It's broken also for those who use the Parse SDK's own facebook module because of transitivity. So we don't need to include the FB SDK separately.
|
True. I released 1.24.2 with this fix. |
Thanks a lottt!! Sorry for not answer your question!!! |
I've added a pinned issue asking for maintainers - hopefully it looks ok! |
Great, it looks perfect! |
It's quite unfortunate that the Bolts is not an external package. We're using Bolts in different modules in our app, and they cannot interoperate if we upgrade the SDK. Consider extracting the bolts package. |
This is my setting:
implementation "com.github.parse-community.Parse-SDK-Android:parse:1.24.1"
implementation "com.github.parse-community.Parse-SDK-Android:facebook:1.24.1"
implementation 'com.github.parse-community:ParseLiveQuery-Android:1.1.0'
And this is what i got:
Duplicate class bolts.Capture found in modules jetified-bolts-tasks-1.24.1.jar (com.github.parse-community.Parse-SDK-Android:bolts-tasks:1.24.1) and jetified-bolts-tasks-1.4.0.jar (com.parse.bolts:bolts-tasks:1.4.0)
The text was updated successfully, but these errors were encountered: