java.lang.UnsupportedOperationException: Unsupported Service: location

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by Joeeeyy
, 1 year ago
Unsupported Service: location
via Stack Overflow by Unknown author, 2 years ago
via programwith.com by Unknown author, 2 years ago
via programwith.com by Unknown author, 2 years ago
Unsupported Service: accessibility
via tagwith.com by Unknown author, 2 years ago
java.lang.UnsupportedOperationException: Unsupported Service: location
at com.android.layoutlib.bridge.android.BridgeContext.getSystemService(BridgeContext.java:570)
at com.mapzen.android.lost.internal.FusionEngine.(FusionEngine.java:38)
at com.mapzen.android.lost.internal.FusedLocationProviderApiImpl.(FusedLocationProviderApiImpl.java:27)
at com.mapzen.android.lost.internal.LostApiClientImpl.connect(LostApiClientImpl.java:21)
at com.mapbox.mapboxsdk.location.LocationServices.toggleGPS(LocationServices.java:81)
at com.mapbox.mapboxsdk.maps.widgets.UserLocationView.toggleGps(UserLocationView.java:378)
at com.mapbox.mapboxsdk.maps.widgets.UserLocationView.setEnabled(UserLocationView.java:251)
at com.mapbox.mapboxsdk.maps.widgets.UserLocationView.initialize(UserLocationView.java:119)
at com.mapbox.mapboxsdk.maps.widgets.UserLocationView.(UserLocationView.java:109)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)
at android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:397)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.