Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Logcat full of "input svInfo.flags is 8" while app is running

When I run almost any app on android studio, my logcat gets full of messages like:

"? E/GnssHAL_GnssInterface: gnssSvStatusCb: a: input svInfo.flags is 8 ? E/GnssHAL_GnssInterface: gnssSvStatusCb: b: input svInfo.flags is 8"

What's this? Is there something wrong about my app?

like image 422
Alexandru Stroescu Avatar asked Oct 25 '19 11:10

Alexandru Stroescu


3 Answers

There is a much simpler solution. in your AVD simply go to settings->location and uncheck use location. Location service image

like image 146
hadi Avatar answered Oct 21 '22 14:10

hadi


You should create Virtual Device in AVD manager without GPS sensor.

new device

and uncheck GPS

uncheck GPS

Errors will gone.

like image 31
Alex77 Avatar answered Oct 21 '22 12:10

Alex77


I needed GPS enabled and could not disable Location Services, so I used this regex with a negative lookahead in logcats search filter:

^(?!.*input svInfo\.flags is 8)

This selects everything not containing the end of the error message ("input svInfo.flags is 8"), but displays everything else.

The search filter should be right above the log output. You might need to activate a selct box reading "regex".

like image 27
vlz Avatar answered Oct 21 '22 12:10

vlz