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?
There is a much simpler solution. in your AVD simply go to settings->location
and uncheck use location
.
You should create Virtual Device in AVD manager without GPS sensor.
and uncheck GPS
Errors will gone.
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".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With