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

Viewed 33316

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?

7 Answers

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

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

new device

and uncheck GPS

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".

Not likely anything wrong with your app. The problem is probably the settings in the "Filter Configuration" in Logcat. It kinda hides as a setting, and has a habit of automatically switching to the "No Filters" selection. If you find out why, let me know.

To ignore the debug error in your question: in the Logcat panel choose a configure filter option in the drop-down after the filter input and Regex option checkbox.

Probably best option is "Show only selected application".

It really solved the problem when you turn off your location services. It happens when I try to fetch data from web API, now I resolve by turning off location.

Exiting and removing the app from multitask in the emulator and re-running from android studio fixed it for me. I'm assuming its an Android studio bug.

There are two possible solution to this fix,

Either

You can disable Location Services in the Emulator that you are running app

or

Create a new Virtual device and disable GPS inside Hardware Profile

Related