导入com.google.android.gms时出错.*;

ofi*_*hai 8 java sdk android google-api importerror

我正在尝试在链接中实现解决方案

需要导入这些:

import com.google.android.gms.common.ConnectionResult;  
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks; 
import com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener; import com.google.android.gms.location.ActivityRecognitionClient;
Run Code Online (Sandbox Code Playgroud)

我无法编译因为eclipse无法识别

 "com.google.android.gms."......
Run Code Online (Sandbox Code Playgroud)

还将SDK和google API更新到最新版(4.3)

仍然无法导入包.

Ste*_*ett 10

请按照本指南设置Google Play服务SDK.它是您必须从SDK Manager获取的客户端库.下载后,将库添加为项目.