[BREAKING ALL CLIENT BUILDS] All versions before 18.1.3 removed from Maven central metadata file
Checklist before submitting a bug report
- [x] I've updated to the latest released version of the SDK
- [x] I've searched for existing Github issues
- [x] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [x] I've read the Code of Conduct
- [x] This issue is not security related and can safely be disclosed publicly on GitHub
Java version
N/A
Android version
N/A
Android SDK version
N/A
Installation platform & version
Maven
Package
Core & AppEvents
Goals
Install facebook-android-sdk dependencies via gradle+maven
Expected results
version 16.* to be available via maven for my gradle-built android app.
Actual results
The maven-metadata file lists no previous versions, only 18.1.3, despite other versions of course being available.
This is causing dependency resolution to fail in our app.
This issue began around 2pm PT today.
Steps to reproduce
No response
Code samples & details
// INSERT YOUR CODE HERE
Same issue +1
https://repo.maven.apache.org/maven2/com/facebook/android/facebook-android-sdk/maven-metadata.xml
According to the metadata last updated time
This bug must be active from July 29, 2025, 8:57:41 PM UTC
Same issue, this broke our android builds this afternoon
Same issue
same issue
implementation 'com.facebook.android:facebook-android-sdk:18.+'
same issue
Happening to react native building android as well with package like react-native-fbsdk-next which has dependency on this. Initially I thought it's the issue of that package until I found this thread.
This is major. It's blocking all of our app releases.
same
Are you writing code with your feet?
https://repo.maven.apache.org/maven2/com/facebook/android/facebook-android-sdk/maven-metadata.xml
Since the last update, historical version data of the maven-metadata.xml was lost.
Are you writing code with your feet?
God bless him 🧖🏼
It's affecting flutter releases.
same issue, Im using react native package
Happening to react native building android as well with package like
react-native-fbsdk-nextwhich has dependency on this. Initially I thought it's the issue of that package until I found this thread.
same issue, relate with this comment
same issue
same issues with Unity facebook SDK 17.0.1
Are you writing code with your feet?
I have fixed it for the Android part of my React Native project:
node_modules-> react-native-fbsdk-next -> android -> build.gradle
Change this line to:
def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '18.1.3')
'18.1.3' is the latest version of the facebook-android-sdk."
Try specifying a fixed version like 17.0.2 instead of using a version range. This helps avoid resolution issues, especially since older versions might have been removed from the maven-metadata.xml. Our team is using the Unity engine and we were able to build successfully with this approach.
ex) implementation 'com.facebook.android:facebook-applinks:<YOUR_VERSION>'
Please fix this, my release is pending!!!!! My TL is sitting on my head.
Please fix this, my release is pending!!!!! My TL is sitting on my head.
In your android/build.gradle
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:<YOUR-PROJECT-VERSION>' // skips checking broken metadata
}
}
Add this snippet inside your allProjects{ ... } to skip metadata check,
This should work until they fix this issue!
I have fixed it for the Android part of my React Native project:
node_modules-> react-native-fbsdk-next -> android -> build.gradleChange this line to:
def FACEBOOK_SDK_VERSION = safeExtGet('facebookSdkVersion', '18.1.3')'18.1.3' is the latest version of the facebook-android-sdk."
Bro saved my day, my TL now happy
From this - implementation 'com.facebook.android:facebook-android-sdk:[17.0,18.0)'
To this - implementation 'com.facebook.android:facebook-android-sdk:[17.0,19.0)'
also change in android/app/build.gradle to (18.1.3)
implementation 'com.facebook.android:facebook-android-sdk:18.1.3'
This worked for me.
Hey, facebook, did your billions make you miss that someone deleted all the old versions from the metadata? 🤣🤣🤣
Same. Please add old versions!
Same. old ver 11.x has dead.
If you are still on version 17, this will work:
implementation 'com.facebook.android:facebook-core:[17.0.2]'
Same applies to any version you used previously. You can find the valid versions here: https://repo.maven.apache.org/maven2/com/facebook/android/facebook-applinks/
The catalog doesn't have old versions which is used for automatic version resolving.