cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates
Date Mon, 13 Mar 2017 22:26:41 GMT

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

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

Github user codecov-io commented on the issue:

    https://github.com/apache/cordova-android/pull/367
  
    # [Codecov](https://codecov.io/gh/apache/cordova-android/pull/367?src=pr&el=h1) Report
    > Merging [#367](https://codecov.io/gh/apache/cordova-android/pull/367?src=pr&el=desc)
into [master](https://codecov.io/gh/apache/cordova-android/commit/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad?src=pr&el=desc)
will **not change** coverage.
    > The diff coverage is `n/a`.
    
    
    ```diff
    @@           Coverage Diff           @@
    ##           master     #367   +/-   ##
    =======================================
      Coverage   35.58%   35.58%           
    =======================================
      Files          12       12           
      Lines        1037     1037           
      Branches      173      173           
    =======================================
      Hits          369      369           
      Misses        668      668
    ```
    
    
    
    ------
    
    [Continue to review full report at Codecov](https://codecov.io/gh/apache/cordova-android/pull/367?src=pr&el=continue).
    > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
    > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
    > Powered by [Codecov](https://codecov.io/gh/apache/cordova-android/pull/367?src=pr&el=footer).
Last update [7d5afde...eb76f4f](https://codecov.io/gh/apache/cordova-android/compare/7d5afdebe1d3d1ecf1ca22473fbb798bc70f49ad...eb76f4f8497b1a12f3461d938a7083581988b3f9?el=footer&src=pr&el=lastupdated).
Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


> 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/<local file spec>
> 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


Mime
View raw message