0

I followed this tutorial

but when its time for sync it says that in build.gradle(Project:test) the term apply plugin: 'com.android.library' its not found.. and that android-library is depreciated..

My question is there any tutorial which works? and when we say import facebook sdk we mean import it as module?

Robert J. Clegg
  • 6,549
  • 8
  • 43
  • 92

1 Answers1

1

This is the best tutorial I saw after encountering the same problem you had:

If you have issues getting your key hash from the command line you can just get it from the code. Check AnhSirk Dasarp answer here: Facebook Android Generate Keyhash

Even with this tutorial you may still have some compatibility issues (perhaps not). Android studio is very good in resolving these issues, let him.

And yes, import Facebook SDK means import it as a module: File->New->Import Module..

Community
  • 1
  • 1
walla
  • 263
  • 1
  • 2
  • 14