I am trying to use capacitor background Runner. But not able to run on my android app

I am trying to use capacitor background Runner. But not able to run on my android app. using npx cap run android getting this error .

× Running Gradle build - failed!
[error]
> Configure project :app
WARNING: Using flatDir should be avoided because it doesn’t support any meta-data formats.

    > Configure project :capacitor-background-runner
    WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.

    > Configure project :capacitor-cordova-android-plugins
    WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.

    > Task :app:preBuild UP-TO-DATE
    > Task :app:preDebugBuild UP-TO-DATE
    > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
    > Task :app:javaPreCompileDebug UP-TO-DATE
    > Task :capacitor-android:preBuild UP-TO-DATE
    > Task :capacitor-android:preDebugBuild UP-TO-DATE
    > Task :capacitor-android:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-app:preBuild UP-TO-DATE
    > Task :capacitor-app:preDebugBuild UP-TO-DATE
    > Task :capacitor-app:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-background-runner:preBuild UP-TO-DATE
    > Task :capacitor-background-runner:preDebugBuild UP-TO-DATE
    > Task :capacitor-background-runner:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-community-sqlite:preBuild UP-TO-DATE
    > Task :capacitor-community-sqlite:preDebugBuild UP-TO-DATE
    > Task :capacitor-community-sqlite:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-cordova-android-plugins:preBuild UP-TO-DATE
    > Task :capacitor-cordova-android-plugins:preDebugBuild UP-TO-DATE
    > Task :capacitor-haptics:preBuild UP-TO-DATE
    > Task :capacitor-haptics:preDebugBuild UP-TO-DATE
    > Task :capacitor-haptics:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-keyboard:preBuild UP-TO-DATE
    > Task :capacitor-keyboard:preDebugBuild UP-TO-DATE
    > Task :capacitor-keyboard:writeDebugAarMetadata UP-TO-DATE
    > Task :capacitor-status-bar:preBuild UP-TO-DATE
    > Task :capacitor-status-bar:preDebugBuild UP-TO-DATE
    > Task :capacitor-status-bar:writeDebugAarMetadata UP-TO-DATE
    > Task :app:generateDebugResValues UP-TO-DATE
    > Task :capacitor-android:generateDebugResValues UP-TO-DATE
    > Task :capacitor-android:generateDebugResources UP-TO-DATE
    > Task :capacitor-android:packageDebugResources UP-TO-DATE
    > Task :capacitor-app:generateDebugResValues UP-TO-DATE
    > Task :capacitor-app:generateDebugResources UP-TO-DATE
    > Task :capacitor-cordova-android-plugins:writeDebugAarMetadata
    > Task :capacitor-app:packageDebugResources UP-TO-DATE
    > Task :app:checkDebugAarMetadata FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.
    > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
    > Could not find :android-js-engine-release:.
    Searched in the following locations:
    -
    file:/E:/Ionic/loandigitalization/android/capacitor-cordova-android-plugins/src/main/libs/android-js-engine-release.aar
    - file:/E:/Ionic/loandigitalization/android/app/libs/android-js-engine-release.aar
    Required by:
    project :app > project :capacitor-background-runner

    * 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

    BUILD FAILED in 8s
    15 actionable tasks: 2 executed, 13 up-to-date 

I am using java 17.