65

When I drag Maps on activity having Google Maps fragment, my logcat is flooded with

"W/Google Maps Android API: GLHudOverlay deprecated; draw(): no-op".

Google Maps version build.gradle (app):

compile 'com.google.android.gms:play-services-maps:9.2.1'

A_Arnold
  • 3,195
  • 25
  • 39
nhkhanh
  • 1,559
  • 13
  • 19
  • it happens with 9.2.0 too. you can right click on the line and hit 'fold lines like this' (remove timestamp etc). – muratgu Jul 22 '16 at 20:11
  • Same here, anyone?? – gilush14 Jul 24 '16 at 12:03
  • It is not play services version problem. I had version 8.4.0 and I got this problem, so I updated version to 9.2.1 but I am still facing the same issue. – Megha Maniar Jul 27 '16 at 08:25
  • have you found the cause? – user3290180 Jul 27 '16 at 08:45
  • 2
    I think it is spawned by the new play services 9.4.52 on the device. – eriuzo Jul 27 '16 at 10:29
  • 1
    I'm on Play Services 8.1.0 and have been for awhile now. A couple days ago I started getting the same flood of logcat warnings. – Rockin4Life33 Jul 28 '16 at 01:41
  • 1
    I am facing this too .. also the map looks weirder now .. anyone face that too? Some roads have become thin lines and theres a greenish tinge in the map .. – Udayaditya Barua Jul 28 '16 at 05:27
  • Is there any actual problem? I don't understand this question at all? Why does it have a bounty? What isn't working? You do know that you can filter out log messages you don't care about, right? – Xaver Kapeller Jul 28 '16 at 12:07
  • 3
    Issues posted https://code.google.com/p/gmaps-api-issues/issues/detail?id=10201 in bug google play services – Rajesh Jul 29 '16 at 07:01
  • 1
    Update: They have fixed the issue and the fix will be released in the next Google Play Services release According to them: The log message does not indicate any problem, so you can safely ignore it. – Adeel Javed Aug 01 '16 at 06:12

3 Answers3

67

UPDATE (26th September 2016): I just checked the fix in play-services-maps 9.6.1

compile 'com.google.android.gms:play-services-maps:9.6.1'

The issue 10201 is closed and release notes here


I think its a render time log. No connection with java code. I also have same log. and i feel its cause by : SupportMapFragment in xml file. When i touch Map, GL render layout and prints this log.

It is inside Map Library. So we can't modify it. but i think sometimes it cause memory overload. and so system calls GC to dump memory.

It's just a warning. So ignore it for now. but it should be fix by Google map library maker.

Edition (1st August, 2016) : now its a known issue and will be solve in next Google Play Library release. ref

Edition (2nd August, 2016) : got an update to play-services-maps as 9.2.1 -> 9.4.0, but warning message still there.

Edition (5th August, 2016) : the fix is not in 9.4 but will be in an upcoming release ref

Note : for hide bunch of same messages i found one trick here.

Community
  • 1
  • 1
Dharvik shah
  • 1,969
  • 12
  • 27
25

You can add to following regex, ^((?!GLHudOverlay).)*$, to your logcat filter to hide the message, but as the accepted answer states this is a bug with Google so the best we can hope for is a quick fix.

Chris Stillwell
  • 10,266
  • 10
  • 67
  • 77
3

Or right click the logcat message (In AndroidStudio) and select "Fold Lines Like This", click edit, and delete everything but the message.

tricknology
  • 1,092
  • 1
  • 15
  • 27