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

Unable to start service #251

Closed
josegamboa opened this issue Sep 7, 2016 · 2 comments
Closed

Unable to start service #251

josegamboa opened this issue Sep 7, 2016 · 2 comments

Comments

@josegamboa
Copy link

josegamboa commented Sep 7, 2016

I am having this error on Android 6, it is working fine on Android 4 and 5.

Unable to start service com.transistorsoft.locationmanager.BackgroundGeolocationService@9a6f6dc with Intent { cmp=com.mobilementor.FCNSWUAT/com.transistorsoft.locationmanager.BackgroundGeolocationService (has extras) }: java.lang.SecurityException: Client must have ACCESS_FINE_LOCATION permission to request PRIORITY_HIGH_ACCURACY locations.

Manifest config:

 <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
    <uses-permission android:name="android.permission.GET_TASKS" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.google.android.gms.permission.ACTIVITY_RECOGNITION" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
</manifest>

Thanks...

@albertmatyi
Copy link

albertmatyi commented Sep 20, 2016

As issue #245 states, this repository is no longer active.

The new and improved version can be found here

Cheers,
m

@christocracy
Copy link
Owner

Please see README for link to updated project.

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

3 participants