Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

ANR on ads gms while getting the device volume

100 views
Skip to first unread message

sam...@saavn.com

unread,
May 4, 2025, 3:31:16 AMMay 4
to Google Mobile Ads SDK Developers
Hi, Pls find the traces of the ANR. The numbers seems high and also there are similar other traces of ads libraries AudioManager.getStreamVolume issues. Pls provide the stable library version or any sort of help to fix this is welcome. 
Library version : com.google.android.gms:play-services-ads:23.6.0

"main" tid=1 Native
Main thread
Busy
#00 pc 0x00000000000bcdec /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28) #01 pc 0x000000000022a29c /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks+136) #02 pc 0x0000000000993d48 /apex/com.android.art/lib64/libart.so (artJniMethodEnd+344) #03 pc 0x00000000007865bc /apex/com.android.art/lib64/libart.so (art_jni_method_end+12) at android.os.BinderProxy.transactNative (Native method)

This Binder call may be taking too long, causing the main thread to wait, and triggering the ANR. Learn more

at android.os.BinderProxy.transact (BinderProxy.java:679) at com.oplus.atlas.IOplusMMAtlasService$Stub$Proxy.getAttributeByAppName (IOplusMMAtlasService.java:649) at com.oplus.atlas.OplusAtlasManager.getAttributeByAppName (OplusAtlasManager.java:270) at android.media.AudioManagerExtImpl.getSteplessVolCompliantIndex (AudioManagerExtImpl.java:937) at android.media.AudioManagerExtImpl.oplusGetStreamVolume (AudioManagerExtImpl.java:398) at android.media.AudioManager.getStreamVolume (AudioManager.java:1328) at com.google.android.gms.ads.omid.library.devicevolume.b.a (:com.google.android.gms.policy_ads_fdr_dynamite@250505305@250505301017.720652128.720652128:4) at com.google.android.gms.ads.omid.library.devicevolume.b.onChange (:com.google.android.gms.policy_ads_fdr_dynamite@250505305@250505301017.720652128.720652128:4) at android.database.ContentObserver.onChange (ContentObserver.java:168) at android.database.ContentObserver.onChange (ContentObserver.java:184) at android.database.ContentObserver.onChange (ContentObserver.java:202) at android.database.ContentObserver.onChange (ContentObserver.java:238) at android.database.ContentObserver.lambda$dispatchChange$1 (ContentObserver.java:332) at android.database.ContentObserver.$r8$lambda$_30FqRqKC3pUku8T3BsVPQAFotM (unavailable) at android.database.ContentObserver$$ExternalSyntheticLambda1.run (D8$$SyntheticClass) at android.os.Handler.handleCallback (Handler.java:959) at android.os.Handler.dispatchMessage (Handler.java:100) at android.os.Looper.loopOnce (Looper.java:282) at android.os.Looper.loop (Looper.java:387) at android.app.ActivityThread.main (ActivityThread.java:9500) at java.lang.reflect.Method.invoke (Native method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:600) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1005)

Mobile Ads SDK Forum Advisor

unread,
May 7, 2025, 11:12:38 AMMay 7
to sam...@saavn.com, google-adm...@googlegroups.com

Hi,

Yes, the version 24.0.0 release is a MAJOR version update with several breaking changes. See Migrate to SDK v24 for more information on how to migrate that has changes to optimized initialization and loading. So as requested earlier, update to the latest version and let us know if the issue still exists? If so, kindly share with the previously requested information so that we can check your implementation, debug and may offer a solution:

  • The full stack trace
  • Sample app reproducing the issue(with affected app ID, ad unit ID)
You can provide the requested details via reply privately to the author option or below link.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=500Ht00001qVoThIAK&entry.80707362=00303667

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-05-07 15:11:23Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01qVoTh:ref" (ADR-00303667)



Reply all
Reply to author
Forward
0 new messages