Skip to content

Getting a build error after migrating our Ionic app from Capacitor 3 to Capacitor 4 #152

@ghost

Description

After migrating our Ionic project from Capacitor 3 to Capacitor 4 (see migration guide) we're getting a build error when building for Android:

* Where:
Script '/builds/rks/myApp/node_modules/cordova-plugin-badge/src/android/badge.gradle' line: 28

* What went wrong:
A problem occurred evaluating script.
> Could not find method compile() for arguments [me.leolin:ShortcutBadger:1.1.22@aar] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Any ideas what we need to do?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions