-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Description
Hello there,
When I'm trying to build the app with the current version of the package, now I'm getting the following error (exclusive on Android):
/Users/.../.pub-cache/git/callkeep-85641625db759787c8e94f4e990553b9fd2c5f10/android/src/main/java/com/github/cloudwebrtc/flutter_callkeep/FlutterCallkeepPlugin.java:15: error: cannot find symbol
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
symbol: class Registrar
location: interface PluginRegistry
/Users/.../.pub-cache/git/callkeep-85641625db759787c8e94f4e990553b9fd2c5f10/android/src/main/java/com/github/cloudwebrtc/flutter_callkeep/FlutterCallkeepPlugin.java:30: error: cannot find symbol
public static void registerWith(Registrar registrar) {
^
symbol: class Registrar
location: class FlutterCallkeepPlugin
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':callkeep: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 11s
Error: Gradle task assembleDebug failed with exit code 1
This seems to be happening on the newest Flutter 3.29.0 and this could be an issue similar to this.
Migrating and supporting the new Android plugins API would be the best solution, I guess, so thanks a lot for considering this ✨
kouz75, DionysiaBourtsoukly and DreamersoulAleksandar-Argead
Metadata
Metadata
Assignees
Labels
No labels