Issue
I am using Facebook audience network latest SDK implementation 'com.facebook.android:audience-network-sdk:4.32.0'
and gradle version is com.android.tools.build:gradle:3.1.1
, but I get an error
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.facebook.android:audience-network-sdk:4.32.0.
Could not resolve com.facebook.android:audience-network-sdk:4.32.0.
Required by:
project :app
Could not resolve com.facebook.android:audience-network-sdk:4.32.0.
Could not get resource 'https://s3.amazonaws.com/moat-sdk-builds/com/facebook/android/audience-network-sdk/4.32.0/audience-network-sdk-4.32.0.pom'.
Could not GET 'https://s3.amazonaws.com/moat-sdk-builds/com/facebook/android/audience-network-sdk/4.32.0/audience-network-sdk-4.32.0.pom'. Received status code 403 from server: Forbidden
How to solve this? Please give me a solution .. thanks in advance
Solution
The version 4.32.0 does not exist at the moment.
Try with 4.+
in order to let gradle pick up the latest version.
dependencies {
implementation 'com.facebook.android:audience-network-sdk:4.28.1'
}
Then you will be able to use this library.
PS: audiance-network-sdk
is also using some google libraries which require the repository jcenter()
Answered By - xiaomi Answer Checked By - Timothy Miller (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.