Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find Facebook SDK.apk

Tags:

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 earlier project, now I started a new one and I get this weird error.

  • I have set a reference to the library
  • I have set the Facebook SDK project as a library
  • I have tried deleting it and re-adding it according to the official documentation, and basically tried everything in this question.

Though I still get this error and can't find out why.

Worth to mention, when I tried to use the facebook class, it gave me an error with an option of "fix project", which I did and still didn't work, might be related?

like image 497
eric.itzhak Avatar asked Jun 10 '12 19:06

eric.itzhak


People also ask

What is the latest Facebook SDK version?

The current version of the Facebook SDK for Android is version 14.1. 1 and requires the Android API 15. Code and samples for the Facebook SDK for Android are available on GitHub. When you use the Facebook SDK for Android, follow the Facebook Open Source Terms of Use and Privacy Policy.

What is a Facebook SDK?

The Facebook SDK is a set of software components that developers can include in their mobile app to understand how people use the app, run optimized marketing campaigns and enable Facebook login and social sharing. This course helps you understand the purpose of the Facebook SDK and App Events for Android and iOS.


2 Answers

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!

like image 75
kolobok Avatar answered Nov 12 '22 05:11

kolobok


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

like image 33
eric.itzhak Avatar answered Nov 12 '22 05:11

eric.itzhak