Search code examples
androidionic-frameworkcordova-pluginsionic4capacitor

ERROR: Unable to find module with Gradle path ':capacitor-cordova-android-plugins'


I'm developing a mobile app with Ionic 4, Capacitor and some Cordova plugins and have run into a problem when attempting to run the app on Android. Android Studio refuses to run the project and prints the following error:

ERROR: Unable to find module with Gradle path ':capacitor-cordova-android-plugins' (needed by module 'app'.)

Solution

  • The issue is resolved by syncing Gradle files again manually:

    enter image description here