Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Unable to load Maven meta-data from https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml. #34

Open
alexfernandojs opened this issue Jan 12, 2022 · 4 comments

Comments

@alexfernandojs
Copy link

ERROR Compiler plugin Repository off jcenter .

Could not resolve com.applovin:applovin-sdk:+.
Required by:
project :app
project :app > project :flutter_applovin_max
> Failed to list versions for com.applovin:applovin-sdk.
> Unable to load Maven meta-data from https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml.
> Could not HEAD 'https://jcenter.bintray.com/com/applovin/applovin-sdk/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

@landersonalmeida
Copy link

landersonalmeida commented Jan 16, 2022

@alexfernandojs Hi Alex! how are u? i had the same issue, i don't know why that was happening but i forked the repository and replaced the whole android/build.gradle file with the following contents:

group 'dev.iori.flutter_applovin_max'
version '1.0'

buildscript {
    repositories {
        google()
        mavenCentral() // Changed.
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
    }
}

rootProject.allprojects {
    repositories {
        google()
        mavenCentral() // Changed.
    }
}

apply plugin: 'com.android.library'

android {
    compileSdkVersion 29

    defaultConfig {
        minSdkVersion 16
    }
    lintOptions {
        disable 'InvalidPackage'
    }
}

dependencies {
    implementation 'com.applovin:applovin-sdk:11.0.0'  // Also changed.
}

@alexfernandojs
Copy link
Author

did this work for you?? . notice practically nothing has changed. because error and that the repository is offline. developer has move binaries to marven

@landersonalmeida
Copy link

did this work for you?? . notice practically nothing has changed. because error and that the repository is offline. developer has move binaries to marven

Yes, i changed the jcenter() repository to mavenCentral() and changed the version of the implementation, i commented the lines i changed.

@alexfernandojs
Copy link
Author

Thanks . really worked I kept only repositories.
Google(),
mavenCentral()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants