Gradle build fails on 5.15.2
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
- Kotlin Version: 1.3.61
- Installation Platform & Version:
Gradleversion6.1.1
* What went wrong:
Could not determine the dependencies of task ':reelgood:compileReleaseJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':reelgood:releaseCompileClasspath'.
> Could not find androidsdk.modules:shield:unspecified.
Required by:
project :reelgood > com.facebook.android:facebook-login:5.15.2
project :reelgood > com.facebook.android:facebook-core:5.15.2
project :reelgood > com.facebook.android:facebook-common:5.15.2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
I'm seeing essentially the same problem.
Also seeing this exact problem.
Forcing facebookSdkVersion = "5.15.1" works
Hi all, v5.15.3 should work.
Thanks @KylinChang it does solve the issue. Will there be an official tagged release for this version?
For react-native developers (using react-native-fbsdk) who are facing the same problem @romanbb solution can be implemented by updating the root build.gradle in the following location.
buildscript {
ext {
...
facebookSdkVersion = '5.15.3'
}
...
}
@gitumarkk solution didn't work in my react-native 0.61 project. Here's the relevant fix I used in my app build.gradle
dependencies {
implementation 'com.facebook.android:facebook-android-sdk:5.15.3'
}
Hi @romanbb , v5.15.3 is the same as v5.15.2. Close the task.