0

According to the Facebook documentation, I have to add the following line in my Gradle file:

 implementation 'com.facebook.android:facebook-android-sdk:[5,6)'

But I get the error:

A newer version of com.facebook.android:facebook-android-sdk than [5,6) is available: 4.34.0

If I set the version to 4.34.0 it seems that I don't have the latest version as I have some warnings mentioning that some methods are deprecated.

Why do I get this error message ? Should I really use [5,6) and not 4.34.0 ? By the way, what does [5,6) mean ?

Thanks !

toto_tata
  • 14,526
  • 27
  • 108
  • 198

1 Answers1

0

Use the latest version

implementation 'com.facebook.android:facebook-android-sdk:7.1.0'

In my Android studio it suggesting to use version 5.15.3

Use the latest version

AskNilesh
  • 67,701
  • 16
  • 123
  • 163
  • Thanks! I see in the change log that it is written "unreleased". What does it mean ? https://github.com/facebook/facebook-android-sdk/blob/master/CHANGELOG.md?fbclid=IwAR2EVz24TOEI4AXYguhl6UxIMNgMr19wGLSNNBO5iu3gULftD5zvUV__uLM Thanks ! – toto_tata Jun 24 '20 at 08:32