I'm using latest version of Ionic Framework and trying to run my app through Android studio. I can run it in my phone through terminal with this command ionic cap run android -lc --external
but in AS I'm facing this error:
Caused by: java.lang.NoSuchMethodError: org.gradle.api.artifacts.result.ComponentSelectionReason.getDescription()Ljava/lang/String;
Is there anyway to resolve this error or to deploy app on Play Store without AS?