I faced this issue; just add it to dependencies and copy the same version in your pubspec.yaml . dependencies: geolocator_android: 4.6.1