Open evelant opened 4 years ago
the same in 1.0.0, 1.0.1, 1.0.2, 1.0.3 .....
https://github.com/facebook/facebook-android-sdk/issues/673
Same on the main Android SDK appaently
As @lucidtheory mentionned it's a bug with fbsdk@5.15.2. You can go around this by fixing its version in your android/build.gradle
file. At the same place as all the other variables in the begining, you can put:
facebookSdkVersion = "5.15.1"
Tried @dawee solution but still not working
Make sure the spelling is exactly facebookSdkVersion
capitalization matching as well
I tried @dawee's solution too, but it's not working either in my android/build.gradle
file.
buildscript {
ext {
... other dependencies
facebookSdkVersion = "5.15.1"
}
Is this the correct place to add it in?
thanks
i solved my issue by forcing the version in my app/build.gradle
.
I changed:
implementation 'com.facebook.android:facebook-android-sdk:[5,6)'
to
implementation 'com.facebook.android:facebook-android-sdk:[5,5.11.1)'
as a temporary workaround, if it helps anyone else.
solved this issue by editing the node_modules/react-native-fbsdk/android/build.gradle
from:
def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '[5.0,6.0[')
to
def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '[5,5.11.1)')
We can close the issue, the version with the fix is published here https://mvnrepository.com/artifact/com.facebook.android/facebook-core/5.15.3 Issue closed https://github.com/facebook/facebook-android-sdk/issues/673
🐛 Bug Report
Build with react-native-fbsdk 1.1.2 fails with
Build was fine, I made no changes, then I did a
./gradlew clean
, reinstalled node_modules, and tried to rebuild the project. Perhaps a bad artifact got pushed for a dependency somewhere causing this sudden build failure?To Reproduce
Build project with react-native-fbsdk 1.1.2
Expected Behavior
Build completes
Environment