RE: [google-admob-ads-sdk] Fatal Exception: java.lang.IllegalStateException at (MediaPlayer.java) and etc.

134 views
Skip to first unread message
Message has been deleted

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 19, 2021, 4:09:07 AM1/19/21
to google-adm...@googlegroups.com

Hi there,

Thank you for reporting this issue to us. Could you please try using our sample ad unit for native ads and see if you will encounter the same crash issue? If the crash would occur, this will rule out that this is related to bad creatives.

I saw a similar issue reported to us with the same error logs you shared. They found out by removing the problematic creative the crash issue stopped.

Also note that I’m going to mask your post (please. see below) on this thread as it contains sensitive information.

 

Regards,


Google Logo
Sherwin Diesta
Mobile Ads SDK Team
 



------
 

Hi,

We've initially reached out to  publishe...@google.com to determine if it's a case of "bad" creative. They are served using the standard GAM native video format. They checked the creative and observed on a test apk we provided. They eventually concluded that the problem seems to be with the media player of GMA SDK android.media.MediaPlayer.native_invoke(MediaPlayer.java)) rather than a problem in the ad itself and suggested we reached out to this forum. 

Please see attached stack traces and screenshots from our Crashlytics account.

Our app xxxxxxxxxxxxxxx /  SDK 19.5.0 installed, I beleive?

The crashes coincide with us running the aforementioned native video ad. 

Please let me know if you need more info.



ref:_00D1U1174p._5004Q2B1OgB:ref

r...@dubizzle.com

unread,
Jan 19, 2021, 5:16:13 AM1/19/21
to Google Mobile Ads SDK Developers
Hi Sherwin,

We are using GAM as opposed to AdMob and plus, our implementation is native style (fluid) and not custom rendering, so which sample ad unit ID of yours has a native video ad? 

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 19, 2021, 10:55:00 AM1/19/21
to google-adm...@googlegroups.com
Hi,

Thank you for responding back to us regarding this issue. You can check out our documentation here . Which will give you the information about what test ad unit we would be using. 

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2B1OgB:ref

r...@dubizzle.com

unread,
Jan 19, 2021, 10:23:26 PM1/19/21
to Google Mobile Ads SDK Developers
Hi William,

Okay, that doesn't help at all. Nowhere on the page will you find any test ad unit that specifically contains a native video ad.

To recap our problem:

We've initially reached out to  publishe...@google.com to determine if it's a case of "bad" creative. They are served using the standard GAM native video format. They checked the creative and observed on a test apk we provided. They eventually concluded that the problem seems to be with the media player of GMA SDK android.media.MediaPlayer.native_invoke(MediaPlayer.java)) rather than a problem in the ad itself and suggested we reached out to this forum. 

Please see attached stack traces and screenshots from our Crashlytics account. 

Our app (com.olx.pk) has afma-sdk-a-v204204999.204102000.1 /  SDK 19.5.0 installed, I beleive?

The crashes coincide with us running the aforementioned native video ad. 
qd java OS.png
ql java OS.png
qd java.txt
ql java.txt
ql java devices.png
qd java devices.png

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 20, 2021, 3:23:35 AM1/20/21
to google-adm...@googlegroups.com

Hi there,

Thanks for your message. For your reference, here’s our sample ad unit ids:

/6499/example/native or /6499/example/native-video

Let me know if this works for you and if you will encounter any crash issues.

 

Regards,

Google Logo
Sherwin Diesta
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2B1OgB:ref

r...@dubizzle.com

unread,
Jan 21, 2021, 1:59:14 AM1/21/21
to Google Mobile Ads SDK Developers
Thanks. 

To make the testing on par with our production set up, could you please confirm if the native video sample is using:

1. An MP4 video file
2. Has third-party impression tracker with cachebuster macro. For info, we are using the below for our creative:

Mobile Ads SDK Forum Advisor Prod

unread,
Jan 21, 2021, 5:17:47 AM1/21/21
to google-adm...@googlegroups.com

Hi there,

Thanks for your response. Let me share this to my teammates to confirm and I'm going to include the information you have provided previously with regard to the issues you are encountering so the team would be able investigate further. We will get back to you the soonest we have the information.


Regards,


Mobile Ads SDK Forum Advisor

unread,
Feb 24, 2023, 3:22:52 PM2/24/23
to google-adm...@googlegroups.com

Hi,

I hope you're doing well.

I just want to circle back with regard to the crashes that you're encountering with GMA SDK android.media.MediaPlayer.native_invoke(MediaPlayer.java)), can you confirm if you're still encountering this in your end? If yes, I would suggest to try our latest version, as there are changes made in the new version. Feel free to reach our to us if you still encountering this.

Regards,

Google Logo Mobile Ads SDK Team


ref:_00D1U1174p._5004Q2B1OgB:ref
Reply all
Reply to author
Forward
0 new messages