Hey there I have been searching for an answer to this on stack overflow and google but nothing seems to be up to date for the newest android studio and the old answers aren't working So I am wondering if someone could help me out here?

Theses don't work

[Android Studio 0.8.1 - how to use Facebook SDK?](https://stackoverflow.com/questions/24466921/android-studio-0-8-1-how-to-use-facebook-sdk)
[using facebook sdk in android studio](https://stackoverflow.com/questions/19961828/using-facebook-sdk-in-android-studio)
<http://trinitytuts.com/integrating-facebook-sdk-application-android-studio/>

Thanks for the help in advance.

**EDIT**

I get this error
![enter image description here](https://i.stack.imgur.com/WlL92.png)

This is my settings.gradle file 

![enter image description here](https://i.stack.imgur.com/ZWyd9.png)