Project: appceleratorstudio
Issue TISTUD-1951: Dashboard: Configure: Android: Improve OS Global Environment Variable detection
If the Dashboard Android Configuration Wizard is run without having the JAVA_HOME variable set, Studio provides no indication it needs to be set. There is only a pop-up indicating Android was downloaded successfully. Note that studio automatically detects JDK to run, but it does not forward this information to the Android SDK tools. There is no log info. This is not a regression. This is a usability issue. Steps to Reproduce: 1. Make sure JDK is installed. 2. Remove JAVA_HOME from the Global Environment Variables. 3. Make sure JAVA_HOME is no longer active (i.e., echo %JAVA_HOME%, echo $JAVA_HOME from the console). 4. Run Titanium Studio. 5. Make sure the Android SDK path is set in the Titanium Studio Preferences. 5. Run Dashboard > Configure > Android > Install/Update. Actual Result: A pop-up appears indicating Android was downloaded successfully every time Update is run. Expected Result: Either the Android SDK Update utility should run, Titanium Studio should set JAVA_HOME, or Titanium Studio should prompt the user to set JAVA_HOME.
Story points: 8