Project: titanium
Issue TIMOB-8658: Android: Switch search order of folders/environment variables in androidsdk.py
I accidentally updated my ANDROID_SDK environment variable to a bad value, and suddenly Studio was unable to find my Android platforms, even though I had a correct SDK specified in preferences. Digging into the code, I see that we pass a specific directory to search to avd.py, by androidsdk.py/find_sdk() defers to ANDROID_SDK before utilizing "supplied". It seems we should respect the passed-in directory first before defaulting to backup options like environment variables.
Story points: 2