2017-04-22 38 views
-1
mGoogleApi= new GoogleApiClient.Builder(this) 
       .addApi(Locationservices.API);// i cant found LocationServices.API 

回答

0

你必須

dependencies { 
    compile 'com.google.android.gms:play-services-location:10.2.1' 
} 

添加到您的gradle這個文件

相關問題