Change the Supported Gradle Version

Link to Change the Supported Gradle Version copied to clipboard
Free Trial

When using the axe DevTools Mobile Analyzer Project in Android Studio, the project is setup for Android Gradle plugin 8.1.1. If the app under test does not support version 8, follow the below steps to change to a supported version.

Guidelines to change from Gradle version 8 to version 7:

  1. At the project level, open the build.gradle file.
  2. On line number 3, change id("") version "8.1.1" apply false to be id("") version "7.2.2" apply false.
  3. Open the
  4. On line number 4, change distributionUrl= to be distributionUrl=
  5. Sync the project for changes to apply.

Head back to the setup instructions to finish running your accessibility scan.