AppLovin / AppLovin-MAX-Cordova

MIT License
10 stars 12 forks source link

Build error #20

Open Carlosps opened 1 year ago

Carlosps commented 1 year ago

I have not changed anything on my code, but now I am getting this error when I try to build the app. I was able to build the same app two day ago withou any issues.

Any idea what might be causing this issue?

Task :app:checkDebugDuplicateClasses FAILED

FAILURE: Build failed with an exception.

Carlosps commented 1 year ago

@thomasmso

I have noticed the build works if I remove: implementation 'com.applovin.mediation:google-adapter:+'

I also noticed there was a new release of the google-adapter on May 28, 2022. https://mvnrepository.com/artifact/com.applovin.mediation/google-adapter/21.0.0.0

A workaround would be replace implementation 'com.applovin.mediation:google-adapter:+' by implementation 'com.applovin.mediation:google-adapter:20.6.0.11'

The version 20.6.0.11 is the last one which is working fine for me.

thomasmso commented 1 year ago

Glad that version works. It might be conflicting transitive dependencies with the 21.0.0 version of AdMob SDK and another Google-owned SDK you have in your project.

We'll post updates if we hear / find more info relating this from our partners.

Carlosps commented 1 year ago

Hi @thomasmso.

Any idea why I am facing this issue when trying to add Pangle ad network as mediation? It works fine for others ad networks like Admob and Meta.

FAILURE: Build failed with an exception.

thomasmso commented 1 year ago

Unfortunately, I'm not sure. I havn't seen this issue before. It's worth integrating their SDK independently to see if the issue persists, to isolate the cause from the adapter.