Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
357 views
in Technique[技术] by (71.8m points)

Android Studio 4.1.2 emulator Set Location generates several locationUpdates

Updated to Android Studio 4.1.2 recently. I used to use an emulator for Pixel 4 API25 with a GPS map app.

Sometime prior to this upgrade, using the Set Location button on the Extended Controls >> Location Tab would move the location immediately to the new location and generate one locationUpdate callback (with FusedLocationProvider).

Now, it seems to take 12-16 steps, generating as many locationUpdate callbacks whenever I click on Set Location.

How can I get the previous functionality back?

After clicking Set Location, shows 13 steps/circles from previous location to new location.

Emulator Extended Controls

question from:https://stackoverflow.com/questions/66054199/android-studio-4-1-2-emulator-set-location-generates-several-locationupdates

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...