2

Hello everybody I imported the sdk but 324 errors apper look at them:

    Description Resource    Path    Location    Type
    AppLink cannot be resolved to a type    FacebookAppLinkResolver.java    ‪/facebook/src/com/facebook/applinks‬   line 66 Java Problem
    Description Resource    Path    Location    Type
    DialogFragment cannot be resolved to a type FacebookDialogFragment.java ‪/facebook/src/com/facebook/internal‬   line 118    Java Problem
    Description Resource    Path    Location    Type
    Fragment cannot be resolved to a type   AppInviteDialog.java    ‪/facebook/src/com/facebook/share/widget‬   line 135    Java Problem
    Description Resource    Path    Location    Type
    FragmentActivity cannot be resolved to a type   FacebookActivity.java   ‪/facebook/src/com/facebook‬    line 57 Java Problem
Description Resource    Path    Location    Type
'<>' operator is not allowed for source level below 1.7 CallbackManagerImpl.java    ‪/facebook/src/com/facebook/internal‬   line 37 Java Problem
Noyisme
  • 37
  • 9

3 Answers3

1

After importing sdk create a lib file and place the android-support-v4.jar file in it .Problem is in facebook sdk android.support.v4.app.DialogFragment is used instead of android.app.Fragment

Venky
  • 166
  • 1
  • 6
0

Make sure path of facebook sdk and adt is same,plus import latest google-play-services library in your workspace.

Neal Ahluvalia
  • 1,538
  • 1
  • 10
  • 20
0

Go in File > Import > Android (Existing code in WorkSpace > Browse For SDK > Check Copy project in workspace > Hit Enter Finish

Ayush
  • 173
  • 1
  • 1
  • 12