gpt4 book ai didi

android - GooglePlayServicesUtil.getOpenSourceSoftware 方法不可用

转载 作者:行者123 更新时间:2023-11-29 15:37:36 24 4
gpt4 key购买 nike

我正在通过 Lynda.com 学习 GoogleMaps。在显示 GooglePlay 服务许可证时,他们使用了一种名为 GooglePlayServicesUtil.getOpenSourceSoftware 的方法。我找不到它。有人可以指出该方法也发生了什么变化吗?谢谢

最佳答案

我假设您指的是 getOpenSourceSoftwareLicenseInfo()。如果是这样,他们就弃用了它,因为不再需要它了。他们在自己的应用程序中显示自己的软件许可证;您不再需要自己显示许可证信息。引用 the JavaDocs 中的内容目前:

This license information is displayed in Settings > Google > Open Source on any device running Google Play services. Applications do not need to display this license text, and this method will be removed in a future version of Google Play services.

关于android - GooglePlayServicesUtil.getOpenSourceSoftware 方法不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46620605/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com