Build fails in android-build@1.0.5 Step

FAILURE: Build failed with an exception.

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

A failure occurred while executing$ActionFacade
Android resource linking failed
/Users/vagrant/.gradle/caches/transforms-2/files-2.1/3253c9a9779a3dcee006bcba48c656d6/core-1.7.0/res/values/values.xml:105:5-114:25: AAPT: error: resource android:attr/lStar 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
    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 1m 31s
    149 actionable tasks: 149 executed
    Run: build task failed: exit status 1
    | |
    | x | android-build@1.0 (exit code: 1) | 1.6 min |
    | Issue tracker: … |
    | Source: GitHub - bitrise-steplib/bitrise-step-android-build |