Facebook SDK for Android duplicate support library on dependencies

后端 未结 3 705
长发绾君心
长发绾君心 2020-12-03 06:29

I have implemented the new Facebook SDK 3.0 beta. The library project contains the Android support library v4. I also have the support library on my own proyect (a different

3条回答
  •  执笔经年
    2020-12-03 07:27

    It seems like the different projects are using two separate support libraries and therefore the checksum is different.

    You must repeat this for both the Facebook SDK project and the app you are building.

    What I do when I get this error is:

    1. Right click the project.

    2. Hover over Android Tools.

    3. Click on "Add support library..."

    4. Accept the downloading of the library.

    This insures two things: a. you get the newest version of the support library from the Google sources, and b. you have the EXACT same library in all your projects.

    Happy coding!

提交回复
热议问题