0

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?

karel
  • 5,489
  • 46
  • 45
  • 50
Mayank Kataria
  • 870
  • 2
  • 12
  • 22

2 Answers2

3

I solved this issue by updating Android Studio. Actually this error was saying "Failed to notify build listener" which can be solved by updating Android Studio (source). I followed the updating steps from here. The older version of AS can't run new ionic projects, so kindly update to latest version.

Mayank Kataria
  • 870
  • 2
  • 12
  • 22
0

Yes, it is solved updating android studio :)