I'm facing an issue in my FlutterFlow project when I use the video_player
plugin. When I include the video player in the project, the build fails with an error related to the WakelockPlusPlugin
. The error message specifically mentions that it cannot find the symbol for WakelockPlusPlugin
, and the build fails with a compilation error. The error output states:
/Users/harikishore/Library/Application Support/io.flutterflow.prod.mac/vigo/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:79: error: cannot find symbol
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.wakelock.WakelockPlusPlugin());
symbol: class WakelockPlusPlugin location: package dev.fluttercommunity.plus.wakelock
1 error
The build fails with the message Execution failed for task ':app:compileDebug JavaWithJavac'.
However, when I remove the video_player
plugin, the build works fine. Has anyone encountered this issue before or knows how to resolve it? Any guidance or suggestions would be greatly appreciated.