[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
[jx8fb] Adding the Facebook SDK to Android Studio project
Steps followed to add Facebook SDK libraries to JX8 AS project
- Edit the build.gradle file adding the dependency on FBSDK
Added the line:
implementation 'com.facebook.android:facebook-android-sdk:[4,5)'
- Open Android Studio and let it build the JX8 project
- ---19 errors building resource XML files
:-( it should work as said by Facebook, but it is not true
- ...now trying to find "a solution"...
- Installing... Android SDK Build-Tools 27.0.3 (revision: 27.0.3)
- Changed build.gradle to target SdkVersion 26 (instead of 23)
- Removed unused imports in MainActivity.java
e.g. import android.support.v7.internal.view.menu.MenuBuilder;
- Now, the project build w/o errors