Skip to content

Build fails - Error with WakelockPlusPlugin and VideoPlayer #5717

@olivierb24

Description

@olivierb24

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Since the last update (v5.4.3+) projects won't build in local run. I get the following:

Launching lib\main.dart on Pixel 9 Pro in debug mode... Upgrading build.gradle Running Gradle task 'assembleDebug'... C:\Users\AppData\Roaming\FlutterFlow\flutterflow\documents_meo\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:174: error: cannot find symbol flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.wakelock.WakelockPlusPlugin()); ^ symbol: class WakelockPlusPlugin location: package dev.fluttercommunity.plus.wakelock 1 error

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:

Run with --info option to get more log output. Run with --scan to get full insights.

BUILD FAILED in 42s Running Gradle task 'assembleDebug'... 43.2sError: Gradle task assembleDebug failed with exit code 1

Expected Behavior

No

Steps to Reproduce

  1. Run the project

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT40lMmAx85OodtF0LX1bcFVmiY5JVB9auYzmOxBaCosfZT2BLMcec/RVERDXsPjS1FAfWf8jWoW0vDwitnUUvY3FyqZGaY71Kt6VQHKRlmnMbKKFJWgP0d8J/FYFXay1J6nkxFDCPRec1IX2mWMCOe+cC/fQ5v1OkU8Da/LZO4=

Visual documentation

Project just doesn't build.

Environment

- FlutterFlow version: v5.4.3+ released April 16, 2025
- Platform: Windows Desktop
- Browser name and version: n/a
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions