godot-applovin-max icon indicating copy to clipboard operation
godot-applovin-max copied to clipboard

Could not resolve adapter

Open slabgames opened this issue 3 years ago • 6 comments

Tried with Godot 3.4 stable Applovin-max : 0.1.2 applovin-max-ironsource : 0.1.1 applovin-max-unityads: 0.1.1

> Could not resolve all files for configuration ':debugRuntimeClasspath'.
   > Could not resolve com.applovin.mediation:ironsource-adapter:+.
     Required by:
         project :
      > Failed to list versions for com.applovin.mediation:ironsource-adapter.
         > Unable to load Maven meta-data from https://applovin.bintray.com/Android-Adapter-SDKs/com/applovin/mediation/ironsource-adapter/maven-metadata.xml.
            > Could not get resource 'https://applovin.bintray.com/Android-Adapter-SDKs/com/applovin/mediation/ironsource-adapter/maven-metadata.xml'.
               > Could not GET 'https://applovin.bintray.com/Android-Adapter-SDKs/com/applovin/mediation/ironsource-adapter/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
   > Could not resolve com.applovin.mediation:unityads-adapter:+.
     Required by:
         project :
      > Skipped due to earlier error
      > Failed to list versions for com.applovin.mediation:unityads-adapter.
         > Unable to load Maven meta-data from https://dl.bintray.com/mobilap/maven/com/applovin/mediation/unityads-adapter/maven-metadata.xml.
            > Could not get resource 'https://dl.bintray.com/mobilap/maven/com/applovin/mediation/unityads-adapter/maven-metadata.xml'.
               > Could not GET 'https://dl.bintray.com/mobilap/maven/com/applovin/mediation/unityads-adapter/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

slabgames avatar Jan 07 '22 07:01 slabgames

After some googling, I think bintray is now fully closed. What should we do to manage this?

slabgames avatar Jan 07 '22 09:01 slabgames

Getting same error but with Facebook

Utkarsh4517 avatar Jan 09 '22 15:01 Utkarsh4517

I have found a work around on this issue. You can go to each gdap file and remove the custom maven repos and make it look like custom_maven_repos=[ ] Then go into your android/build.gradle file and scroll down to your dependencies section and add them manually dependencies { implementation libraries.kotlinStdLib implementation libraries.androidxFragment implementation 'com.applovin.mediation:facebook-adapter:6.8.0.3' implementation 'com.applovin:applovin-sdk:10.0.1' implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.squareup.picasso:picasso:2.5.2' implementation 'com.android.support:customtabs:28.0.0'

That should fix it for now

finepointcgi avatar Jan 09 '22 16:01 finepointcgi

Any update on this? I tried the option above but now I get `Execution failed for task :checkDebugAarMetadata.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction One or more issues found when checking AAR metadata values:

 The minCompileSdk (31) specified in a
 dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
 is greater than this module's compileSdkVersion (android-30).
 Dependency: androidx.work:work-runtime:2.7.0.
 AAR metadata file: C:\Users\willi\.gradle\caches\transforms-3\210528e24fd1ca76f7b2c606b561a376\transformed\work-runtime-2.7.0\META-INF\com\android\build\gradle\aar-metadata.properties.

`

SirTodd avatar Mar 05 '22 03:03 SirTodd

you can specify the sdk used in your config.gradle file under /android/build/ Just set the compileSdk and targetSdk to 31, that fixed the issue for me. Of course you also need to download the sdk 31 through android studio first.

Nazzaroth2 avatar Apr 23 '22 14:04 Nazzaroth2

targetSdk

Hi,could you explain more ? I am the newer

Zine1993 avatar Apr 27 '22 14:04 Zine1993