Skip to content

Android build fails on file_picker 10.3.10 due to invalid GeneratedPluginRegistrant reference (regression from 10.3.8) #1960

@shanakamadusanka

Description

@shanakamadusanka

I don't get this issue with 10.3.8 but with 10.3.10.
However, i didn't try 10.3.9


D:\Projects\****\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:34: 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:compileDebugJavaWithJavac'. > Compilation failed; see the compiler output below.
D:\Projects\****\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:34: 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 * Try: > Check your code and dependencies to fix the compilation error(s) > Run with --scan to generate a Build Scan (Powered by Develocity). BUILD FAILED in 25s Error: Gradle task assembleDebug failed with exit code 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