Places class is removed from android play services 9.2.0

前端 未结 3 1301
梦如初夏
梦如初夏 2020-12-03 09:56

Today, I updated to google play services to 9.2.0. I got an error

com.google.android.gms.location.places.Places

not found. tha

3条回答
  •  鱼传尺愫
    2020-12-03 10:39

    In 9.0.2, the 'places' library was inside 'location' library. In 9.2, you need to add 'places' library as dependency:

    implementation 'com.google.android.gms:play-services-places:9.2.0'
    

提交回复
热议问题