Issues in QGC Android build in Windows

While we creating the QGC Android build In Windows we are getting the following error and could not resolve it and the environment details given below:

Andriod build in Windows Platform
ndk 21
SDK 31
gradle version in - 7.3.3
gradle version in build.gradle - 2.3.0

Qt creator 5.15.2
Android ARMv7

Build: QGC stable build-4.1


FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android-build’.

Failed to notify project evaluation listener.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --debug option to get more log output.
Run with --scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See Command-Line Interface

Watched directory hierarchies: []
Building the android package failed!
12:07:58: The process “C:\Qt\5.15.2\android\bin\androiddeployqt.exe” exited with code 14.
Error while building/deploying project qgroundcontrol (kit: Android Qt 5.15.2 Clang Multi-Abi)
The kit Android Qt 5.15.2 Clang Multi-Abi has configuration issues which might be the root cause for this problem.
When executing step “Build Android APK”
12:07:58: Elapsed time: 01:23.