Sunday, November 9, 2014

How to add facebook SDK to IntelliJ IDEA Android project

1. Open your current android project and select File -> New Module.
2. Choose Android – Library Mode
3. Fill the fields as shown on the picture:


     Package name: com.facebook.android

4. Go to File -> Project structure and choose Modules
5. Add module dependency of the app and choose facebook:


6. Add Jar dependency of the facebook module:


7. Choose android-support-v13.jar:


8. Download “Bolts-Android-master” and import it as a module:



9. Now add it as a module dependency for the facebook module:



Congrats!

No comments:

Post a Comment