`ionic cordova build android problem

Hello Everyone
I am using Ionic 5.2.4 on windows 10 with jdk 1.8. I have installed Gradle 5.5.1. But when i try to build andriod app using command ionic cordova build --release android, it does not build the apk and show the following output and then do nothing

Plz help to solve the issue

After five 10 minutes it show following error

You have got to accept the licenses:

  • go to cmd
  • navigate to your Android->Sdk->tools->bin and run “sdkmanager.bat --licenses”

C:\Users*your-user-name*\AppData\Local\Android\Sdk\tools\bin>sdkmanager.bat --licenses

1 Like

Thanx this problem is solved.

But now it is showing the following error.