GooglePlayServicesUtil.getOpenSourceSoftware method not available

萝らか妹 提交于 2019-12-11 08:06:40

问题


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


回答1:


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:

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.



来源:https://stackoverflow.com/questions/46620605/googleplayservicesutil-getopensourcesoftware-method-not-available

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!