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 82B9E200C32 for ; Thu, 9 Mar 2017 22:50:45 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8162E160B75; Thu, 9 Mar 2017 21:50:45 +0000 (UTC) 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 CA308160B5F for ; Thu, 9 Mar 2017 22:50:44 +0100 (CET) Received: (qmail 3932 invoked by uid 500); 9 Mar 2017 21:50:44 -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 3920 invoked by uid 99); 9 Mar 2017 21:50:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 21:50:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 71ABF186130 for ; Thu, 9 Mar 2017 21:50:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.652 X-Spam-Level: X-Spam-Status: No, score=0.652 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id AeQ4jY-YBQJ4 for ; Thu, 9 Mar 2017 21:50:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A334F5FDE0 for ; Thu, 9 Mar 2017 21:50:41 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0DF85E086A for ; Thu, 9 Mar 2017 21:50:40 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id EA144243D6 for ; Thu, 9 Mar 2017 21:50:38 +0000 (UTC) Date: Thu, 9 Mar 2017 21:50:38 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 09 Mar 2017 21:50:45 -0000 [ https://issues.apache.org/jira/browse/CB-12524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903905#comment-15903905 ] ASF GitHub Bot commented on CB-12524: ------------------------------------- Github user shazron commented on the issue: https://github.com/apache/cordova-android/pull/367 Success! (Android Studio 2.2 -> Android Studio 2.3 upgrade, and update to latest sdk tools) > add plugin failing because it cannot find tools/templates > --------------------------------------------------------- > > Key: CB-12524 > URL: https://issues.apache.org/jira/browse/CB-12524 > Project: Apache Cordova > Issue Type: Bug > Components: Android, App Hello World > Affects Versions: 6.5.0 > Environment: Mac OSX 10.12.3 > Cordova 6.5.0 > Android 6.1.2 > Reporter: Gary N Griswold > Assignee: Joe Bowser > Priority: Blocker > > plugin add is failing because it is looking for in sdk/tools/templates/gradle/wrapper, but tools/templates does not exist. > The reference to the missing templates directory is found in {quote}check_reqs.js line 88{quote} > {code} > platforms/android/cordova/lib/check_reqs.js > line 88: var wrapperDir = path.join(sdkDir, 'tools', 'templates', 'gradle', 'wrapper'); > Please see the > cordova plugin add $HOME/ > Failed to install 'com-shortsands-videoplayer':CordovaError: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. > Looked here: /Users/garygriswold/Library/Android/sdk/tools/templates/gradle/wrapper > at Object.module.exports.check_gradle (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/lib/check_reqs.js:90:25) > at GradleBuilder.prepEnv (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/lib/builders/GradleBuilder.js:161:23) > at Api.module.exports.runClean (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/lib/build.js:131:20) > at /Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/Api.js:394:50 > at _fulfilled (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:834:54) > at self.promiseDispatch.done (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:863:30) > at Promise.promise.promiseDispatch (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:796:13) > at /Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:604:44 > at runSingle (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:137:13) > at flush (/Users/garygriswold/ShortSands/VideoProto/platforms/android/cordova/node_modules/q/q.js:125:13) > Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. > Looked here: /Users/garygriswold/Library/Android/sdk/tools/templates/gradle/wrapper > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org