Skip to content
Advertisement

Tag: abstractmethoderror

Android java.lang.AbstractMethodError on requestLocationUpdates

i get this error java.lang.AbstractMethodError: abstract method “void android.location.LocationListener.onProviderDisabled(java.lang.String) when i call locationManager.requestLocationUpdates(). I saw another post where the answer was to override some methods i.e. But the thing is i cannot override them anywhere in my project. I have simplified the code in order to help the readers and instead of two classes i have one MainActivity: The exception

Advertisement