سؤال

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