Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.1.0
-
None
-
Windows,
ANDROID_HOME is not set
PATH doesn't include Android SDK path
Description
1. In a batch command shell: set ANDROID_HOME= (ANDROID_HOME is not set)
2. Ensure that PATH doesn't include Android SDK path
3. cordova build android
ACTUAL RESULTS: [Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.]
EXPECTED RESULTS: No error. cordova-android has logic to detect ANDROID_HOME variable based on default installed locations on a machine.
This is a regression with the check_reqs changes.