Reputation: 801
this might be a bit of a newbie question, but here goes: I am currently working on an Android application in which I need the Facebook library and the Action Bar Support library.
when I tried to combine the ABS library (e.g. compile a project into a library) and the Facebook library (e.g. integrate the Facebook SDK for Android as a project and compile it into a library), then I am running into the following problem: the 2 support libraries used by ABS and Facebook are different. When I tried to replace the support librarie in Facebook with the newer one used by ABS, I got into compile errors in the Facebook SDK. So what is the best way to go? How can I combine the both without having to sacrifice support library functionalities?
Upvotes: 3
Views: 699
Reputation: 27748
I faced a similar difficulty, although, mine was for ABS and the ViewPager library. What I did in my case was:
jar
file from ViewPager.In your case, you could try doing this:
jar
from the Facebook SDK.Upvotes: 2
Reputation: 38168
Remove the support librairy in one of them and replace it with the version of the other one.
If you use maven, just remove the library in ABS libs folder, and change the version in the pom to match the support library used by facebook.
Upvotes: 3