[
https://issues.apache.org/jira/browse/CB-9286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Kotikov closed CB-9286.
--------------------------------
Resolution: Fixed
> cordova build android fails with [Error: Android SDK not found...]
> ------------------------------------------------------------------
>
> Key: CB-9286
> URL: https://issues.apache.org/jira/browse/CB-9286
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 4.1.0
> Environment: Windows,
> ANDROID_HOME is not set
> PATH doesn't include Android SDK path
> Reporter: Vladimir Kotikov
> Assignee: Vladimir Kotikov
> Labels: android
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]