Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 51ADB200AEE for ; Wed, 4 May 2016 02:02:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 502A51609F6; Wed, 4 May 2016 02:02:12 +0200 (CEST) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C747D1609F5 for ; Wed, 4 May 2016 02:02:11 +0200 (CEST) Received: (qmail 58707 invoked by uid 500); 4 May 2016 00:02:11 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 58696 invoked by uid 99); 4 May 2016 00:02:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 00:02:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 8CF61DFB79; Wed, 4 May 2016 00:02:10 +0000 (UTC) From: jasongin To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-android pull request: CB-11198 Skip android target sdk che... Content-Type: text/plain Message-Id: <20160504000210.8CF61DFB79@git1-us-west.apache.org> Date: Wed, 4 May 2016 00:02:10 +0000 (UTC) archived-at: Wed, 04 May 2016 00:02:12 -0000 Github user jasongin commented on a diff in the pull request: https://github.com/apache/cordova-android/pull/303#discussion_r61976209 --- Diff: bin/templates/cordova/lib/builders/GradleBuilder.js --- @@ -203,6 +203,11 @@ GradleBuilder.prototype.build = function(opts) { } else { process.stdout.write(stdio.stdout); } + }).catch(function (error) { + if (error.toString().indexOf('failed to find target with hash string') >= 0) { + return check_reqs.check_android_target(error); --- End diff -- Would it be possible for check_android_target to actually find the target and then swallow this error? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org