-
-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not compile with Flutter 3.29 #375
Comments
🚀 Migration Update: Flutter 3.29 🚀 We’ve completed the migration in #376 ! 🎉 You can check out the changes in the flutter-3.29 branch. 🔍 How to Test: Your feedback is valuable! Let us know if anything needs improvement. 💡🔥 |
Hi, |
@srappose |
Hi, your fix works on my project. Anyway, here is an excerpt of my build error with open_file_plus plugin (https://pub.dev/packages/open_file_plus): ...
symbol: class Registrar location: interface PluginRegistry This is the link of the related issue: joutvhu/open_file_plus#22 |
When will this be merged? |
After upgrading flutter from 3.27.4 to 3.29, it is no more possible to build an application using flutter_barcode_scanner, having the following message:
...
...
[My_user_path]\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_barcode_scanner-2.0.0\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:71: error: cannot find symbol
private FlutterBarcodeScannerPlugin(FlutterActivity activity, final PluginRegistry.Registrar registrar) {
^
symbol: class Registrar
location: interface PluginRegistry
[My_user_path]\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_barcode_scanner-2.0.0\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:78: error: cannot find symbol
public static void registerWith(final PluginRegistry.Registrar registrar) {
^
symbol: class Registrar
location: interface PluginRegistry
[My_user_path]\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_barcode_scanner-2.0.0\android\src\main\java\com\amolg\flutterbarcodescanner\FlutterBarcodeScannerPlugin.java:244: error: cannot find symbol
final PluginRegistry.Registrar registrar,
^
symbol: class Registrar
location: interface PluginRegistry
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
FAILURE: Build failed with an exception.
Execution failed for task ':flutter_barcode_scanner:compileDebugJavaWithJavac'.
BUILD FAILED in 1m 40s
Error: Gradle task assembleDevDebug failed with exit code 1
Exited (1).
...
The text was updated successfully, but these errors were encountered: