Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
395 views
in Technique[技术] by (71.8m points)

android - AdMob RewardedAd causes Memory leaks (v19.7.0)

After Analysing with Android profiler I found that My Activity doesn't get garbage collected and is still running after calling finish(). And the cause of this is the AdMob RewardedAd (videos), so I tried to set the reference to the RewardedAd instance to null but it didn't work and the Activity is still leaking.

I've been searching for a solution but I didn't find an appropriate one, so is there a way to stop the memory leak? Or a correct way to implement the RewardedAd without having this issue?

Note : I use the new API of the AdMob RewardedAd (19.7.0)

question from:https://stackoverflow.com/questions/66057504/admob-rewardedad-causes-memory-leaks-v19-7-0

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...