GooglePlayServicesUtil.getOpenSourceSoftware方法不可用 [英] GooglePlayServicesUtil.getOpenSourceSoftware method not available

查看:123
本文介绍了GooglePlayServicesUtil.getOpenSourceSoftware方法不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过Lynda.com.au学习GoogleMaps。在显示GooglePlay服务许可证时,他们使用了一种名为GooglePlayServicesUtil.getOpenSourceSoftware的方法。我找不到它。有人请指出方法已经改变了吗?谢谢

I am learning GoogleMaps through Lynda.com.In Displaying GooglePlay Services License they used a method called GooglePlayServicesUtil.getOpenSourceSoftware.I a m not able to find it.Can somebody please point out what the method has changed too? Thanks

推荐答案

我假设你的意思是 getOpenSourceSoftwareLicenseInfo()。如果是这样,他们不赞成它,因为它不再需要。他们在自己的应用程序中显示自己的软件许可证;您不再需要自己显示许可证信息。引用目前的JavaDocs

I assume that you mean getOpenSourceSoftwareLicenseInfo(). If so, they deprecated it, because it is no longer needed. They show their own software licenses in their own apps; you no longer need to show the license information yourself. Quoting what is in the JavaDocs at the moment:


此许可证信息显示在任何设备上的设置>Google>开放源代码运行Google Play服务。应用程序无需显示此许可证文本,并且此方法将在未来版本的Google Play服务中删除。

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.

这篇关于GooglePlayServicesUtil.getOpenSourceSoftware方法不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆