[ 
https://issues.apache.org/jira/browse/CB-9286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612917#comment-14612917
 ] 

ASF GitHub Bot commented on CB-9286:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-android/pull/191

    CB-9286 Fixes build failure when ANDROID_HOME is not set.

    This fixes [CB-9286](https://issues.apache.org/jira/browse/CB-9286) which 
is a regression from 4bf705a.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-android CB-9286

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/191.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #191
    
----
commit 6b071c0fb2c4c2a5622b6e5d87c09a0bf9e784d6
Author: Vladimir Kotikov <[email protected]>
Date:   2015-07-03T06:46:39Z

    CB-9286 Fixes build failure when ANDROID_HOME is not set.

----


> 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]

Reply via email to