Execution failed for task ':app:compileDebugJavaWithJavac'

I’m using ionic-v5

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
9 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Compilation failed; see the compiler error output for details.

  • 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface

BUILD FAILED in 14s
25 actionable tasks: 25 executed
Command failed with exit code 1: /Users/inder/Documents/projects/ionicProjects/dummyApp/platforms/android/gradlew cdvBuildDebug -b /Users/inder/Documents/projects/ionicProjects/dummyApp/platforms/android/build.gradle

I’m not seeing any actual error in what you posted. As the bit you quoted says, there should be errors in the compiler output; look for those and post them (as text, not images).