Project: appceleratorstudio
Issue TISTUD-1115: Studio: Android SDK detection relies on script in latest Titanium SDK in mobilesdk folder, giving misleading info during failure
Description: To determine if the Android SDK is properly configured, Studio relies on a script (avd.py I believe) in the latest Titanium SDK in the Titanium SDK folder. This is problematic in some circumstances including when a developer installs a development Titanium SDK. Studio will automatically defer to this new version for verification of the correct configuration of the Android SDK. If there is an issue with the script or some other problem with the folder structure of the development Titanium SDK, it will disable the ability of Studio to use Android projects. Since it is not possible for QE to verify every development release has the correct structure and that the and.py script is present and functional, this is a potential risk area. Steps to reproduce: 1) Configure studio to have 1.8.0.1 GA as the latest SDK 2) Install an SDK from master branch (1.9.0) 3) navigate to the folder for the 1.9.0 SDK and remove SDK FOLDER/android/avd.py 4) In studio, select the titanium preference pane or click "configure..." from the TIapp.xml overview Result: Android preference states "Could not locate the Android SDK at the given path" Expected: Android SDK configuration verification based on method that is independent of Titanium SDK
Story points: 13