Ich habe ein Projekt mit hoher Priorität in der Entwicklung.
Ich versuche, Geo-Standort in DB einzufügen, so fand ich einen Service online und leider LocationRequest
und LocationServices.API
sind nicht gelöst.
Ich verwende die Abhängigkeit 'com.google.android.gms:play-services-maps:10.2.0'
LocationRequest und LocationServices.API sind nicht aufgelöst
habe ich versucht, die Einfuhr Zugabe
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks;
import com.google.android.gms.common.api.GoogleApiClient.OnConnectionFailedListener;
import com.google.android.gms.location.LocationListener;
import com.google.android.gms.location.LocationRequest;
import com.google.android.gms.location.LocationServices;
Sie können den Code ich in diesem link
zusammengestellt You 'maps' aber' location' eine separate Abhängigkeit –
Nicht vergessen ist, können Sie das Häkchen neben dem Post –