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 C8E81200C32 for ; Thu, 9 Mar 2017 19:42:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C772B160B75; Thu, 9 Mar 2017 18:42:44 +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 EC597160B5F for ; Thu, 9 Mar 2017 19:42:43 +0100 (CET) Received: (qmail 69796 invoked by uid 500); 9 Mar 2017 18:42:43 -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 69785 invoked by uid 99); 9 Mar 2017 18:42:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Mar 2017 18:42:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AF6541A0436 for ; Thu, 9 Mar 2017 18:42:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.902 X-Spam-Level: X-Spam-Status: No, score=0.902 tagged_above=-999 required=6.31 tests=[KAM_LOTSOFHASH=0.25, 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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id NQ0y02wjx0oP for ; Thu, 9 Mar 2017 18:42:41 +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 79B2A5FE3F for ; Thu, 9 Mar 2017 18:42:40 +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 1B42CE0A17 for ; Thu, 9 Mar 2017 18:42:39 +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 6A299243B8 for ; Thu, 9 Mar 2017 18:42:38 +0000 (UTC) Date: Thu, 9 Mar 2017 18:42: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 18:42:45 -0000 [ https://issues.apache.org/jira/browse/CB-12524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903588#comment-15903588 ] ASF GitHub Bot commented on CB-12524: ------------------------------------- GitHub user infil00p opened a pull request: https://github.com/apache/cordova-android/pull/367 CB-12524: Working around Android SDK update by finding Gradle in Android Studio itself, if that fails, we look for a locally installed Gradle ### Platforms affected Android ### What does this PR do? This PR allows Cordova users to be able to build Android projects again using the platform CLI tools. ### What testing has been done on this change? Testing has been done on the build scripts to make sure things work, but testing on the CLI integration still needs to be done. ### Checklist - [ x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA database - [ x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected. - [ ] Added automated test coverage as appropriate for this change. You can merge this pull request into a Git repository by running: $ git pull https://github.com/infil00p/cordova-android android_sdk_fixes Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-android/pull/367.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 #367 ---- commit 78c5a54e5f255aab205ecbc72047b5cce9f18a66 Author: Joe Bowser Date: 2017-03-06T23:03:32Z We're distributing a wrapper in the framework directory commit 9469d11669fcf6ef4342954d46722144c9f36731 Author: Joe Bowser Date: 2017-03-06T23:55:22Z CB-12524: Updating gradle to just grab the wrapper from the framework directory for building commit 4502e3253783425eda5cff881e48f4d58de88e3e Author: Joe Bowser Date: 2017-03-07T22:29:02Z CB-12524: Create script needs to copy the wrapper from the framework directory to the CordovaLib directory. This means you can compile an AAR out of any of the projects if you wanted. commit 8c01438e16ad1403e9eb54d1870bbc8371458343 Author: Joe Bowser Date: 2017-03-09T02:09:49Z CB-12524: This now fetches the template from inside of the Android Studio directory, and falls back to a locally installed Gradle instance commit a4fa4b79fc6a8ad8afe9249aa591c62e1742d666 Author: Bharath Hariharan Date: 2017-02-23T19:13:10Z Updating version This closes #364 commit f3408169735e01817bdde113547ca40375529ebb Author: Joe Bowser Date: 2017-03-09T18:26:48Z CB-12524: Windows functionality for Gradle execution commit 45e3c6983470d47628e8deba23ab41498638a8a9 Author: Joe Bowser Date: 2017-03-09T18:32:07Z Accidentally committed temp files in Windows ---- > 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