Platform
Details to reproduce the issue
I use file_picker: ^10.3.7 and After run flutter build apk getting following error.
Error Log
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:24: error: cannot find symbol flutterEngine.getPlugins().add(new com.mr.flutter.plugin.filepicker.FilePickerPlugin());
^
symbol: class FilePickerPlugin
location: package com.mr.flutter.plugin.filepicker
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Flutter Version details
Flutter (Channel stable, 3.32.8, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [1,732ms]
• Flutter version 3.32.8 on channel stable at /flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ed
• Engine revision ef0cd0
• Dart version 3.8.1
• DevTools version 2.45.1
Platform
Details to reproduce the issue
I use
file_picker: ^10.3.7and After runflutter build apkgetting following error.Error Log
android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:24: error: cannot find symbol flutterEngine.getPlugins().add(new com.mr.flutter.plugin.filepicker.FilePickerPlugin());^
symbol: class FilePickerPluginlocation: package com.mr.flutter.plugin.filepicker1 errorFAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:compileReleaseJavaWithJavac'.> Compilation failed; see the compiler error output for details.Flutter Version details
Flutter (Channel stable, 3.32.8, on macOS 15.6.1 24G90 darwin-arm64, locale en-US) [1,732ms]
• Flutter version 3.32.8 on channel stable at /flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ed
• Engine revision ef0cd0
• Dart version 3.8.1
• DevTools version 2.45.1