Fackbook SDK throws Error

后端 未结 2 1337
甜味超标
甜味超标 2021-01-20 16:33

I have downloaded and imported android facebook sdk 3.14. It is throwing over 150 errors.

e.g.

AppLink cannot be resolved to a type
AppLinkResolver          


        
2条回答
  •  说谎
    说谎 (楼主)
    2021-01-20 17:11

    These steps worked for me:

    • Download the facebook sdk from here: https://developers.facebook.com/docs/android/
    • In Eclipse:
      • Import -> Existing Projects into Workspace
      • Go to the sdk folder location
      • Deselect All and select only 'FacebooSDK' (this if you don't need any samples)
    • After the project was imported, clean the project and try to build

    It should work now, but if you encounter any further problems, maybe you'll find some help here: https://developers.facebook.com/docs/android/getting-started/

提交回复
热议问题