-
-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: Build Error on Android with Geolocator Plugin 4.3.1 and Flutter 3.29 #1650
Closed
3 of 8 tasks
Comments
I’m facing the same problem with the new 3.29.X Flutter version |
I also started facing same issue after upgrading to fluttter 3.29.1
|
@matheusbristot, @pettymn, @ebot64 It should be resolved in the new(er) versions. Please upgrade the geolocator_android package to 4.6.2 or 5.0.0. Kind regards, |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Please check the following before submitting a new issue.
Please select affected platform(s)
Steps to reproduce
Description:
After upgrading to Flutter 3.29, I am encountering two build errors in the Geolocator plugin (version 4.3.1) when building the Android app. The errors indicate that the
Registrar
symbol cannot be found inio.flutter.plugin.common.PluginRegistry
.Error Details:
First Error:
Second Error:
Steps to Reproduce:
Upgrade Flutter to version 3.29.
Use Geolocator plugin version 4.3.1.
Run the build for the Android app (e.g., flutter build apk).
Expected results
Build pass
Actual results
android/src/main/java/com/baseflow/geolocator/GeolocatorPlugin.java:58: error: cannot find symbol
private io.flutter.plugin.common.PluginRegistry.Registrar pluginRegistrar;
^
symbol: class Registrar
location: interface PluginRegistry
android/src/main/java/com/baseflow/geolocator/GeolocatorPlugin.java:78: error: cannot find symbol
public static void registerWith(io.flutter.plugin.common.PluginRegistry.Registrar registrar) {
^
symbol: class Registrar
location: interface PluginRegistry
Code sample
Code sample
[Paste your code here]
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
4.3.1
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: