Error whit capacitor-cordova-android-plugins on MAPS

The application works perfectly in the browser “ionic serve”, even in ios “npx cap open ios” works perfectly, but when I pass it to Android Studio “npx cap open android” it opens the IDE and when trying to run it I get the following error:

Unsupported Modules Detected: Compilation is not supported for following modules: capacitor-cordova-android-plugins. Unfortunately you can’t have non-Gradle Java modules and Android-Gradle modules in one project.

And the app stops…

I’m just trying to create a map where the location is obtained (geolocation)

Some answer? or help?