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. @Override public void onProviderDisabled(@NonNull String provider) {} 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