After several months after having integrated the Unity Admob plugin, we are getting mostly in Android 11 but also Android 10 and 12 a lot crashes of the type:
Exception java.lang.Error: FATAL EXCEPTION Caused by: java.lang.IllegalArgumentException: parameter must be a descendant of this view
After researching the error and searching online, not only occurs in Unity, but also in other Admob plugins (React Native, etc.) According to forums one solution could be to add "AdView.setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS)" to the Banner Adview, but from this plugin there is no access to the native Android code
Actually is the 35% of the crash rate in the Play Developer Console.
For reproduce the crash there is no code needed specifically, only have a banner enabled.
|
||||||
Hi,
Thank you for providing crash reference. For us to further check this crashes that is happening in your end, can you provide us more information below privately? You can provide the following details via reply privately to author option or directly provide it to the link below.
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
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.
Regards,
|
||||||
Hi Liran,
Could you confirm whether the mentioned issue is reproducible in our Google Sample Project as well? If yes, kindly share the below information privately so we can review it and try to replicate the problem. After doing so, we will be better equipped to offer a solution.
If the file(s) you are looking to share are less than 25mb, 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, kindly provide requested information to us via reply to author option or using the following steps:
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.
![]() |
Mobile Ads SDK Team |
Hi Liran,
We need detailed debug information to investigate on this issue. As requested earlier, please try to provide the below details.
If the file(s) you are looking to share are less than 25mb, 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, kindly provide requested information to us via reply to author option or using the following steps: