Wear:onConnectionFailed: ConnectionResult{statusCode=SERVICE_MISSING, resolution=null, message=null}

02-14 11:04:36.074 24807-25201/com.kodulf.fakenetease W/GooglePlayServicesUtil: Google Play services is missing.
02-14 11:04:36.111 24807-24807/com.kodulf.fakenetease D/MainAcitivity: onConnectionFailed: ConnectionResult{statusCode=SERVICE_MISSING, resolution=null, message=null}
02-14 11:05:26.249 24807-24890/com.kodulf.fakenetease W/GooglePlayServicesUtil: Google Play services is missing.

02-14 11:05:26.308 24807-24807/com.kodulf.fakenetease D/MainAcitivity: onConnectionFailed: ConnectionResult{statusCode=SERVICE_MISSING, resolution=null, message=null}


Google play services is missing

http://stackoverflow.com/questions/15144084/google-play-services-is-missing

参考:


i have just solved it. the google services have been updated in my device and the google playservice lib of my project was in an old version .I updated it and the problem has been sovled!


查看了源码:

package com.google.android.gms.common;下面的GooglePlayServicesUtil

try
        {
          localPackageInfo1 = localPackageManager.getPackageInfo("com.google.android.gms", 64);
          if (!lc.aU(localPackageInfo1.versionCode)) {
            break label248;
          }
          if (!gw()) {
            break label146;
          }
          j = 0;
          byte[][] arrayOfByte1 = new byte[3][];
          arrayOfByte1[0] = b.Ix[j];
          arrayOfByte1[1] = b.IE[j];
          arrayOfByte1[2] = b.IC[j];
          if (a(localPackageInfo1, arrayOfByte1) != null) {
            break;
          }
          Log.w("GooglePlayServicesUtil", "Google Play Services signature invalid on Glass.");
          return 9;
        }
        catch (PackageManager.NameNotFoundException localNameNotFoundException1)
        {
          Log.w("GooglePlayServicesUtil", " Google Play services is missing.");
          return 1;
        }
        localThrowable = localThrowable;
        Log.e("GooglePlayServicesUtil", "The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.");
        continue;
      }




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值