DrMoriarty / godot-applovin-max

AppLovinMax plugin for godot engine.
27 stars 7 forks source link

Could not resolve adapter #15

Open slabgames opened 2 years ago

slabgames commented 2 years ago

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 commented 2 years ago

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

Utkarsh4517 commented 2 years ago

Getting same error but with Facebook

finepointcgi commented 2 years ago

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

SirTodd commented 2 years ago

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.

`

Nazzaroth2 commented 2 years ago

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.

Zine1993 commented 2 years ago

targetSdk

Hi,could you explain more ? I am the newer