Good evening, could someone help me? Why this error when I compile and open with Android Studio it shows me this message.
already tried with
ionic cordova platform remove android
ionic cordova platform add [email protected]
ionic cordova build android
But the problem persists in version [email protected]
It is very strange since it works for me by changing to a previous version.
Wearing:
ionic cordova platform remove android
ionic cordova platform add [email protected]
ionic cordova build android
But resulting in a message like this:
"To take advantage of all the latest features (such as Instant Run), improvements and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.0.1 and Gradle to version 4.1."
It was a bug in the plugin, which was not compatible with cordova-android 7 because it changed the structure of the app.
If you install version 7.0.2 of the plugin it should already work for you