question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AdMob 7.1.0 & AppLovin 6.3.0 -> Crash on Android (Exoplayer)

See original GitHub issue

Environment:

  • Unity version: 2020.3.35f1
  • Google Mobile Ads Unity plugin version: 7.0.2
  • Platform: Android
  • Platform OS version: 12
  • Mediation ad networks used, and their versions: -> AdColony 2.5.0 -> AppLovin 6.2.1 -> Facebook 3.7.0 -> Unity 3.2.0
  • Other SDK : Firebase 9.1.0
  • External Dependency Manager: 1.2.171

Problem: -> If you try to watch an ad from AppLovin, it will crash the app

Has anyone faced this issue and found a solution? Thank you!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
PokerDawgcommented, Jun 27, 2022

@Rickard87 We’re not using waterfall ads, only bidding.

  • Unity v2021.3.4
  • AdMob plugin v7.1.0
  • AppLovin mediation plugin v6.3.0
  • Mediation Test Suite (latest)

I’m also using UnityAds, IronSource and Facebook mediation, but I don’t think it’s relevant here. Just set up the AdMob plugin like usual, make sure it work fine in a build, import all the mediation plugins and the mediation test suite, force resolve, build again. At this point for us, AppLovin ads (bidding) load, but crash the game when opening. If I add the line into the Custom Gradle Properties, force resolve, and build again, AppLovin ads (bidding) open without issues.

1reaction
PokerDawgcommented, Jun 23, 2022

This solution does seem to work for us, when viewing AppLovin ads through the mediation test suite. Without it, the ads would load, but trying to view them would crash the game.

android.enableDexingArtifactTransform=false

I’d still be cool if this was fixed by default in a future version of this plugin.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bug - Applovin ad module crashes.
I develop Android app only and use Rewarded Ad only. I have installed Applovin connector from Unity Editor (by clicking the button)
Read more >
App crashes whenever I try to add dependency of AdMob
I am in the process of creating a software application. Initially, my application was fully developed and functioning properly.
Read more >
Exoplayer error - gradle.properties - (AppLovin MAX SDK)
Hi, I'm trying to migrate Mopub SDK to AppLovin MAX SDK (MoPub has been acquired by AppLovin). I've manage to show Intersticial Ads...
Read more >
Untitled
Supported devices Android Developers Media3 ExoPlayer Android Developers Media ... bad ramsau AdMob 7.1.0 & AppLovin 6.3.0 -> Crash on Android (Exoplayer) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found