设备没有在谷歌Nexus手机包com.google.android.gsf [英] device does not have package com.google.android.gsf in google nexus phone

查看:204
本文介绍了设备没有在谷歌Nexus手机包com.google.android.gsf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我测试我的应用程序在谷歌Nexus手机。但其在部队密切启动本身带有异常设备不具有包com.google.android.gsf任何提示?

I am testing my app in Google Nexus phone. But its force close during the start up itself with an exception "device does not have package com.google.android.gsf" Any hint?

我已经成功地测试了三星Galaxy S3和三星GalaxyŸ手机的应用程序。

I have successfully tested the app in Samsung Galaxy S3 and Samsung Galaxy Y phones.

推荐答案

如果你正在使用的包装不属于核Android系统的一部分,你的应用程序应该经常检查它们的存在和妥善处理的错误,如果他们没有安装,而不是崩溃。我相信这就是你所看到的 - com.google.android.gsf不是核Android SDK的一部分,所以你不能保证它是可用

If you are making use of packages that are not part of the core Android system, your app should always check for their existence and handle the errors gracefully if they are not installed, rather than crashing. I believe this is what you are seeing - com.google.android.gsf is not part of the core Android SDK so you cannot guarantee it is available.

如果您使用的是来自谷歌的任何功能播放服务,你应该阅读如果需要覆盖检查服务的presence,并提示下载用户的设置文档 /更新它们。

If you are using any functionality from Google Play Services, you should read the setup documentation which covers checking for the presence of the services, and prompting the user to download / update them if necessary.

这篇关于设备没有在谷歌Nexus手机包com.google.android.gsf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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