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.

Migrate to IMA SDK 3.13.1+

See original GitHub issue

[REQUIRED] Issue description

The IMA extension seems to be incompatible with the latest interactivemedia library Version. Every time an ad is attempted to play, the Activity crashes.

[REQUIRED] Reproduction steps

Update com.google.ads.interactivemedia.v3:interactivemedia to at least version 3.13.1 and try to load an ad.

[REQUIRED] Link to test content

Any VAST link, for example one of these test links: https://www.iab.com/insights/vast-2-0-xml-samples-for-testing/

[REQUIRED] A full bug report captured from the device

java.lang.AbstractMethodError: abstract method "void com.google.ads.interactivemedia.v3.api.player.VideoAdPlayer.loadAd(com.google.ads.interactivemedia.v3.api.player.AdMediaInfo, com.google.ads.interactivemedia.v3.api.AdPodInfo)"
    at com.google.ads.interactivemedia.v3.internal.afe.a(IMASDK:43)
    at com.google.ads.interactivemedia.v3.internal.afc.a(IMASDK:160)
    at com.google.ads.interactivemedia.v3.internal.afc.a(IMASDK:16)
    at com.google.ads.interactivemedia.v3.internal.afa.b(IMASDK:42)
    at com.google.ads.interactivemedia.v3.internal.aez.shouldOverrideUrlLoading(IMASDK:4)
    at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:83)
    at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(PG:16)
    at android.os.MessageQueue.nativePollOnce(Native Method)
    at android.os.MessageQueue.next(MessageQueue.java:336)
    at android.os.Looper.loop(Looper.java:174)
    at android.app.ActivityThread.main(ActivityThread.java:7559)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

[REQUIRED] Version of ExoPlayer being used

ExoPlayer: 2.10.4 InteractiveMedia: 3.14.0

[REQUIRED] Device(s) and version(s) of Android being used

Any, but reproduced on OnePlus 7 Pro with Android 10 Beta.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:8
  • Comments:28 (11 by maintainers)

github_iconTop GitHub Comments

8reactions
ojw28commented, May 6, 2020

Thanks for your patience. Just to provide an update, the change referenced above migrates our dev-v2 branch to IMA SDK 3.18.1 (thanks @andrewlewis !). We’re still working on a couple of issues with the migration, including one stuck playback problem, but are hoping to get these cleaned up and into a release over the coming weeks.

8reactions
andrewlewiscommented, Apr 8, 2020

Understood. I’m actively working on this at the moment. Some more details: until recently we were focused on rolling out the server-side component of this (new ads managers) and then addressing backwards compatibility issues that came up from those changes. Then there was an ExoPlayer bug with ad playbacks with protected content getting stuck (#7188). Currently I’m working on a remaining issue where AdsMediaSource doesn’t release its child sources, and then focusing on dealing with the API changes for this dependency update (this is non-trivial as there is new preloading behavior and new requirements for signaling when ads are loaded, for example).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google IMA Android SDK release history
Service release, no new features. SDK version 3.14.0 will be deprecated on 10/23/2020. See the Deprecation Schedule for more details. 3.13.1 ...
Read more >
Release notes for the IMA Android SDK - Google Groups
We'll post in this thread every time a new version of the IMA Android SDK is released. If you wish to receive these...
Read more >
Migrating to Brightcove's IMA Plugin 6.15.0
In this topic, you will learn how to migrate your app to use Brightcove's IMA plugin for the Native SDK for Android 6.15.0....
Read more >
Release Notes (Android v3) - JW Player
Upgraded to Google IMA version 3.10.6 which includes IAB's Open Measurement SDK that enables third-party viewability and verification measurement for ads served ...
Read more >
Video Ad Serving Template (VAST) - VERSION 4.2
Its work includes the OpenRTB real-time bidding protocol, ads.txt anti- fraud specification, Open Measurement SDK for viewability and verification, VAST video.
Read more >

github_iconTop Related Medium Post

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