mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The gradle/android tooling will validate that ANDROID_HOME and ANDROID_SDK_ROOT are precisely the same. So if they point to the same directory but are not normalized this check will fail. Fixes Dart-Flutter Head-Head-Head bot which failed with ``` Several environment variables and/or system properties contain different paths to the SDK. Please correct and use only one way to inject the SDK location. ANDROID_HOME: /b/s/w/ir/cache/builder/engine/src/flutter/testing/rules/../../../third_party/android_tools/sdk ANDROID_SDK_ROOT: /b/s/w/ir/cache/builder/engine/src/third_party/android_tools/sdk ```