Why I won't create apk please help me

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

Configure project :CordovaLib

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Ionic\myApp\platforms\android\CordovaLib\build.gradle’ line: 41

  • What went wrong:
    A problem occurred evaluating project ‘:CordovaLib’.

Failed to apply plugin [id ‘com.github.dcendents.android-maven’]
Configuration with name ‘testImplementation’ not found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BU�LD FAILED in 40s
C:\Ionic\myApp\platforms\android\gradlew: Command failed with exit code 1 Error output:
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Ionic\myApp\platforms\android\CordovaLib\build.gradle’ line: 41

  • What went wrong:
    A problem occurred evaluating project ‘:CordovaLib’.

Failed to apply plugin [id ‘com.github.dcendents.android-maven’]
Configuration with name ‘testImplementation’ not found.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BU�LD FAILED in 40s

That is related to gradle, this would help you.