I have been experimenting with BANNER ads on my Android app, following this guide. When the ad load and is being presented a significant FPS drop is observed. This is very frustrating experience for the user, because View animations are core part of my app and they look awful in low FPS.
Everything runs fine when I set the adView to View.GONE
. I don't know where this problem might be originating from. I'm not sure how the UI thread becomes so heavily loaded with a simple BANNER ad... Any suggestions here?
This problem is present both in my emulator and real Android device.
Asked
Active
Viewed 8,197 times
19

BabbevDan
- 1,160
- 3
- 14
- 26
1 Answers
18
Google AdView has WebView with a lot of animation inside. It will heats up all mobile CPU.
Summing up it's normal. I have the same situation in my applications. AdView take 30% of CPU. I tried to find any solution but it's known issue. Below links can help you optimize your banners but you have to know that, it will always take some of CPU.
stackoverflow - admob banners cause high cpu usage
stackoverflow - webviewcorethread used by admob adview is using high cpu
stackoverflow - android admob consuming more cpu
pzoleeblogen - how to solve adview cpu consuming
Please vote up my answer if I help you. Have fun.

Community
- 1
- 1

Eliasz Kubala
- 3,836
- 1
- 23
- 28
-
1So... is it a bug in the ad system? – BabbevDan Jul 26 '15 at 11:22
-
I think so. Maybe try display AdView only in MENU? Last one link is helpful to optimize CPU usage when app is background. – Eliasz Kubala Jul 26 '15 at 11:28
-
2It is helpful but it does not answer my question, how to prevent this performance drop-down. – BabbevDan Jul 26 '15 at 13:28
-
How long will Google take to fix this? – thiagolr Dec 18 '15 at 12:24
-
The problem is, that AdView has WebView inside with a lot of animation. It will always heats up CPU. – Eliasz Kubala Dec 19 '15 at 14:10
-
112 years later and Google Banner ads are still breaking the buttery smoothness that my app exhibits without ads. Can anything be done at this point ? – Someone Somewhere Jul 26 '17 at 22:22
-
44 years later and the issue is still there – elGreato Nov 21 '19 at 06:23
-
35 years later still the same. The ads are taking most of the CPU and the app get slow with unacceptable lagging especially if you have a banner in recyclerview. – Borislav Kamenov May 21 '20 at 20:49
-
6 years later I still face lag when using Google ads. My flutter app runs smoothly without ad but with ad it feels like I running app on 512MB ram mobile device. – Sangam Jul 12 '21 at 04:43
-
7 years later. Still the same issue. Flutter is a complete joke. – Nelu B Jan 13 '22 at 23:14
-
27 years later, and still the same. – Kashif Masood Apr 26 '22 at 19:48
-
8 years later, has anyone found any solution? – AI Shakil Aug 16 '23 at 09:56