Android SERVICE_VERSION_UPDATE_REQUIRED error

Asked 2 years ago, Updated 2 years ago, 27 views

I got a GPS on my cell phone and I'm showing you my current location

I can't get a GPS signal from a certain phone.

When I took a log, the error message went to SERVICE_VERSION_UPDATE_REQUIRED.

When I searched, it was a problem because the Google service version of the phone is low.

So I'm trying to induce users to update Google services, and how to do it is a good way

I'd like to ask...

If you know a good way, please let me know

android

2022-09-22 16:53

1 Answers

If Google Play service is not installed or the version is low, one of the alternatives is to check it on the app, download the play service, or display a version update popup. You can get a hint about this part by looking at Google IO source code.

You can expose the pop-up directly, but you can also use the Google PlayServicesUtil.getErrorDialog() function to float the pop-up like the code above.


2022-09-22 16:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.