対応するGradleバージョンの変更

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

Android Studioで axe DevTools Mobile Analyzerプロジェクトを使用する場合、プロジェクトはAndroid Gradleプラグイン8.1.1に設定されています。テスト対象のアプリがバージョン8をサポートしていない場合、以下の手順に従ってサポートされているバージョンに変更してください。

Gradleバージョン8からバージョン7に変更するためのガイドライン:

  1. プロジェクトレベルで、 build.gradle ファイルを開きます。
  2. 行番号3で、 id("com.android.application") version "8.1.1" apply falseid("com.android.application") version "7.2.2" apply falseに変更します。
  3. を開きます。 gradle-wrapper.properties
  4. 行番号4で、 distributionUrl=https://services.gradle.org/distributions/gradle-8.0-bin.zipdistributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-bin.zipに変更します。
  5. プロジェクトを同期して、変更を適用します。

設定手順に戻り、 セットアップ instruktion を完了させて、アクセシビリティスキャンを実行します。