I'm currently creating a simple Test activity that logs into facebook. I'm using the IntelliJ IDE. I've added the facebookSDK to my project and I've created a simple program. Problem is, I can't even compile the project. I get like 100 warnings and 3 errors:

Problem

I did some research and it probably has something to do with missing dependencies. The facebook SDK can't find some packages. What am I missing/doing wrong?

I'd really appreciate some help!

有帮助吗?

解决方案

It looks like you're missing the Android v4 Support Library Library. You have to download it in the SDK Manager and add it to your project.

To add it, go to Project Structure > Libraries and add the Library from your SDK (should be under %SDK_PATH%/extras/android/support/v4/)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top