Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resolve symbol 'LocationTrackerUpdateModule' #31

Open
manishautomatic opened this issue Jul 20, 2023 · 0 comments
Open

Cannot resolve symbol 'LocationTrackerUpdateModule' #31

manishautomatic opened this issue Jul 20, 2023 · 0 comments

Comments

@manishautomatic
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant