无法添加实现 'com.google.android.libraries.places:places:2.2.0'
Not able to add implementation 'com.google.android.libraries.places:places:2.2.0'
我正在尝试为 android 添加 Places SDK。
我正在关注以下文档
https://developers.google.com/places/android-sdk/start 和
https://developers.google.com/places/android-sdk/client-migration
不幸的是我无法添加依赖项"implementation 'com.google.android.libraries.places:places:2.2.0'"
我浏览了以下链接。但是没有用。请帮我解决一下这个。
我终于找到了问题的解决方案。
我通过安装兼容库解决了。
关注了这个。 https://developers.google.com/places/android-sdk/client-migration
以下两个步骤解决了我的问题。
复制places_compat_compatify.sh的内容,并另存为文件到本地计算机。
使用以下命令运行兼容性脚本
./places_compat_compatify.sh 2.1.0
在此之后,我可以 运行 我的项目成功并可以放置 API。
谢谢
我正在尝试为 android 添加 Places SDK。
我正在关注以下文档 https://developers.google.com/places/android-sdk/start 和 https://developers.google.com/places/android-sdk/client-migration
不幸的是我无法添加依赖项"implementation 'com.google.android.libraries.places:places:2.2.0'"
我浏览了以下链接。但是没有用。请帮我解决一下这个。
我终于找到了问题的解决方案。
我通过安装兼容库解决了。
关注了这个。 https://developers.google.com/places/android-sdk/client-migration
以下两个步骤解决了我的问题。
复制places_compat_compatify.sh的内容,并另存为文件到本地计算机。
使用以下命令运行兼容性脚本
./places_compat_compatify.sh 2.1.0
在此之后,我可以 运行 我的项目成功并可以放置 API。
谢谢