Android Places API: Google Play Services Out of Date on Emulator

后端 未结 9 1672
鱼传尺愫
鱼传尺愫 2021-01-01 10:46

I am attempting to utilize the Google Places API\'s PlacePicker in my Android app. However, whenever I attempt to create the picker, I receive the following error message:

9条回答
  •  囚心锁ツ
    2021-01-01 11:38

    This is a workaround that I came up with since none of the solutions here worked for me. Also, I didnt want to update my code to use an older version of play services. I ended up installing the emulator with google play instead of google apis and then when the prompt came up I simply clicked update. This would take you to the google play store and all you have to do is update play services from there. Only caveat here is that this method requires you to sign in to the emulator with a google account. But for my use cases it was sufficient.

提交回复
热议问题