Could not find Facebook SDK.apk

前端 未结 5 1756
抹茶落季
抹茶落季 2020-12-30 01:18

Hey I know this was asked before, but none of the solutions seem to help.

This is NOT a duplicate

I have used the Facebook SDK before on an

相关标签:
5条回答
  • 2020-12-30 01:47

    i dont know how this is happened but it works :

    first : i have added all facebook3.0 related sample + facebookSDk projects in one workspace .

    second : i have run a sample project . in which i found a .jar file : androiddependencies->facebooksdk.jar (note this exact path )

    third :

    1.) i created my project .

    2.) inside this i have removed errors by :- FixProjectSetup (atLast position )

    3.) i have added facebooksdk.jar by right_clicking at project->properties->android->by checking android 4.2 + reference the Facebooksdk -> done .

    now i am able to create and run programs easily .

    0 讨论(0)
  • 2020-12-30 01:48

    This is common error. Just remove FacebookSDK project from Properties->Java Build Path->Projects . This project should be referenced from Properties->Android

    For more information, see this answer: Could not find Library.apk!

    0 讨论(0)
  • 2020-12-30 01:52

    Hmm.. I just want to ask whether did you import the Facebook SDK into Eclipse itself? Because I had did a project using Facebook and the thing is that besides referencing, the guide I followed actually instructed that the SDK must be imported into the Eclipse.

    You might probably want to have a look at this. Else, the other way is just like what you did, copying all the files.

    0 讨论(0)
  • 2020-12-30 02:06

    Well, after alot of searches the only thing that worked for me is just creating a new project and copying all the files to it.

    I tried avoiding it but that seems like the only thing that works =/

    As there is no answer on this topic whatsoever, so if someone could find out a better solution - it will be very helpfull to the community

    0 讨论(0)
  • 2020-12-30 02:12

    Try deleting the Facebook application for Android (if you have one installed on your phone). This worked for me.

    0 讨论(0)
提交回复
热议问题