-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I am working on including Geolocator in my JAVA based Android Studio project.
I have added below in my build.gradle file inside dependencies section --
implementation 'com.sprotte:Geolocator:latest'
Next, in my MainActivity.java class I extend the LocationTrackerWorker as specified in the readme file --
`
public class LocationTrackerWorker extends LocationTrackerUpdateModule {
@Override
public void onLocationResult(@NotNull LocationResult location) {
Log.v(GeoFenceIntentService.class.getSimpleName(), "onLocationResult " + location);
);
}
}
`
However the class LocationTrackerUpdateModule does not get resolved.
I tried manually adding import com.sprotte.geolocator.tracking.LocationTracker; at the top of my Activity. That also gives the error Cannot resolve symbol 'sprotte'.
Kindly advice.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels