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

Facebook plugin clashes with the PushPlugin - on android imports #1011

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

Facebook plugin clashes with the PushPlugin - on android imports #1011

kaansoral opened this issue May 21, 2015 · 8 comments

Comments

@kaansoral
Copy link

I'm sure many of you experienced this issue:
com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

It happens when both plugins are added

I'm guessing it's because none of the plugins upgraded to the new plugin syntax

@kaansoral
Copy link
Author

After more inspection, this is the same issue as #750 - but none of the proposed solutions work

I tried replacing the support lib and references with V13/V4, but the build always fails

@nicolaevladescu
Copy link

Same issue here, when using the push plugin and facebook connect. Removing the android-support-v4.jar yelds symbol not found errors. However, removing any of this two plugins from the project, the build works. ( ofc removing both works aswell )

@vlysytsia
Copy link

Have the same issue but with the Facebook connect plugin.

:dexDebug
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Landroid/support/annotation/AnimRes;

But if I delete file platforms\android\com.phonegap.plugins.facebookconnect\blank548628-FacebookLib\libs\android-support-v4.jar I get other errors. Any other solution?

@kaansoral
Copy link
Author

Use the telerik version of both plugins, they are improved

@nicolaevladescu
Copy link

I will give them a try, thanks!

@TimMensch
Copy link

Do the Telerik versions require you to use any Telerik services? Or are they just better? :)

@lalop
Copy link

lalop commented Aug 7, 2015

Hello,
I tried with the telerik one but I have always this issue, @kaansoral am I missing some thing ?

@TimMensch no you can just use the plugin as any other

@kaansoral
Copy link
Author

Test them on a test project or on a clean build, just removing and adding plugins isn't enough, as it seems

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