1
votes

[✗] Android toolchain - develop for Android devices ✗ ANDROID_HOME = User/grantrienstra/Library/Android/sdk but Android SDK not found at this location.

Is what I've been getting when I run flutter doctor -v and Youtube has not yielded any answers. Do you know how to install the Android toolchain? I have Android Studios downloaded and the Flutter and Dart plugins integrated.

2

2 Answers

1
votes

By checking your path I'm assuming you're on Mac so try to add the tools and platform-tools to your PATH environment variable by running the following on the terminal:

export PATH=$PATH:~/Library/Android/sdk/tools

export PATH=$PATH:~/Library/Android/sdk/platform-tools

Then you should be good to go.

0
votes

... and if successful place the export path in .bashrc in your home ~ directory

or if using csh or tcsh the equivalent is,

setenv PATH PATH:/User/username/Library/Android/sdk/tools