$ ANDROID_SDK / extras /谷歌/ m2repository / COM /谷歌/克
。在那里,选择你想要的工件(例如, play-services-maps
)和版本(例如, 8.1.0
)。在你最喜欢的ZIP工具中打开AAR,查看那里发布的 AndroidManifest.xml
文件,看看是否有< uses-权限>
元素。然后,打开POM文件,查看它们之间的依赖关系,并为这些依赖关系的AAR重复该过程。 As I found out in Why are permissions being automatically added to my AndroidManifest when including Google Play Services library, various Google Play Services components implicitly add permissions to your app starting in Google Play Services 7.5. But obviously not all components require the same permissions - for instance, play-services-games:7.8.0 doesn't require any.
Is there an easy way to tell what permissions will be added by a particular Google Play Services component?
$ANDROID_SDK/extras/google/m2repository/com/google/gmsplay-services-maps8.1.0AndroidManifest.xml
这篇关于每个Google Play服务组件需要哪些权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!