Skip to content

devicelab tests want ANDROID_SDK_ROOT but it is deprecated #117245

@gaaclarke

Description

@gaaclarke

If you run the devicelab tests it will complain that ANDROID_SDK_ROOT is not set. But if you set it, you'll no longer be able to compile the flutter engine because of the following error:

* What went wrong:
Could not determine the dependencies of task ':app:lintDebug'.
> 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: /Users/aaclarke/dev/engine/src/third_party/android_tools/sdk
  ANDROID_SDK_ROOT: /Users/aaclarke/Library/Android/sdk
  
  It is recommended to use ANDROID_HOME as other methods are deprecated

Metadata

Metadata

Labels

P3Issues that are less important to the Flutter projecta: tests"flutter test", flutter_test, or one of our testsinfra: device labInfrastructure device lab problemsteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions