Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1496418509 for ; Fri, 3 Jul 2015 06:43:05 +0000 (UTC) Received: (qmail 47493 invoked by uid 500); 3 Jul 2015 06:43:05 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 47468 invoked by uid 500); 3 Jul 2015 06:43:05 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 47450 invoked by uid 99); 3 Jul 2015 06:43:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jul 2015 06:43:04 +0000 Date: Fri, 3 Jul 2015 06:43:04 +0000 (UTC) From: "Vladimir Kotikov (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-9286) cordova build android fails with "Error: Android SDK not found..." MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vladimir Kotikov created CB-9286: ------------------------------------ Summary: 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 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org