Skip to content

Error: cannot find symbol flutterEngine.getPlugins().add(new com.mr.flutter.plugin.filepicker.FilePickerPlugin()) #1952

Description

@induwarar

Platform

  • Android
  • iOS
  • Web
  • Desktop

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    new issueAn issue that hasn't yet been seen from the maintainer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions