Android上的进口com.google不能得到解决Android、com、google

由网友(一个沙雕网友)分享简介:我想测试Android开发的LocationService例如按下面的链接http://developer.android.com/training/location/retrieve-current.html.当时,错误信息告诉我,对于以下5条线进口com.google解决不了。我真的很困惑该如何解决这个问题。进口c...

我想测试Android开发的LocationService例如按下面的链接http://developer.android.com/training/location/retrieve-current.html.当时,错误信息告诉我,对于以下5条线进口com.google解决不了。我真的很困惑该如何解决这个问题。

 进口com.google.android.gms.common.ConnectionResult;
进口com.google.android.gms.common.GooglePlayServicesClient;
进口com.google.android.gms.common.GooglePlayServicesUtil;
进口com.google.android.gms.location.LocationClient;
进口com.google.android.gms.location.LocationListener;
进口com.google.android.gms.location.LocationRequest;
 

解决方案

您将需要谷歌播放服务SDK在Eclipse和导入谷歌播放服务配置为图书馆将关闭此错误。

英国调查苹果公司与谷歌公司数十亿美元的交易

I'm trying to test LocationService example of Android developer as per following link http://developer.android.com/training/location/retrieve-current.html. At that time, error message show me that "The import com.google cannot be resolved" for following 5 lines. I'm really confused how to solve this problem.

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.GooglePlayServicesClient;
import com.google.android.gms.common.GooglePlayServicesUtil;
import com.google.android.gms.location.LocationClient;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;

解决方案

You will need the Google Play Services SDK configured within Eclipse and import google play services as library will dismiss this error .

阅读全文

相关推荐

最新文章