[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-20 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-12524:


I think we can resolve this issue now, yes? gradle tweaks + fixes to support 
the new SDK have landed in master.

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r106050913
  
--- Diff: bin/lib/check_reqs.js ---
@@ -246,7 +273,11 @@ module.exports.check_android_target = 
function(originalError) {
 //   Google Inc.:Glass Development Kit Preview:20
 var valid_target = module.exports.get_target();
 var msg = 'Android SDK not found. Make sure that it is installed. If 
it is not at the default location, set the ANDROID_HOME environment variable.';
-return tryCommand('android list targets --compact', msg)
+//   Changing "targets" to "target" is stupid and makes more code.  
Thanks Google!
+var cmd = 'android list targets --compact';
+if(forgivingWhichSync('avdmanager').length > 0)
+  cmd = 'avdmanager list target --compact';
--- End diff --

Actually, don't worry about it, I already have a fix incoming anyways.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-14 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r106043706
  
--- Diff: bin/lib/check_reqs.js ---
@@ -246,7 +273,11 @@ module.exports.check_android_target = 
function(originalError) {
 //   Google Inc.:Glass Development Kit Preview:20
 var valid_target = module.exports.get_target();
 var msg = 'Android SDK not found. Make sure that it is installed. If 
it is not at the default location, set the ANDROID_HOME environment variable.';
-return tryCommand('android list targets --compact', msg)
+//   Changing "targets" to "target" is stupid and makes more code.  
Thanks Google!
+var cmd = 'android list targets --compact';
+if(forgivingWhichSync('avdmanager').length > 0)
+  cmd = 'avdmanager list target --compact';
--- End diff --

I just realized this but I think what we want here is to use `sdkmanager` 
and not `avdmanager`, right @infil00p ? `avdmanager list targets` returns 
either AVD device definitions or existing AVD IDs. 


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF GitHub Bot (JIRA)

[ 
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   
  Lines1037 1037   
  Branches  173  173   
===
  Hits  369  369   
  Misses668  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  (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/
> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12524:
-

The Gradle Wrapper errors have now been fixed on master. 

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit a9a28d3e777d603510df36194c7ed9962003e2cf in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=a9a28d3 ]

CB-12524: Workaround for obsolete gradle on integration servers


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit 028725468aee4a1b30de3058356084ed9f5e3191 in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=0287254 ]

CB-12524: Removing the downgrade test, because thanks to Google's Tool Change, 
this will forever fail.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit fb9f0f3ee89b006e6dc61e1bc49c13be7006f61a in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=fb9f0f3 ]

CB-12524: I need travis to install a wrapper on this, since travis fails the 
gradle check


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit 6a77acdbf2c9064318d694c6863c8428f5c8ff08 in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=6a77acd ]

CB-12524: Thwarted by JSHint again, accidentally deleted the wrong message


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit e182e669f0aaee775a8e109be1676f35a358a72a in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=e182e66 ]

CB-12524: Put the script in the wrong spot, oops

This closes #367


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit b2664bc46968b9be45409efdda518d9bbc90f08d in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=b2664bc ]

CB-12524: Test distributing a wrapper in the framework directory


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit ab276504fde9c046b0018d9f4d39d5cb21600238 in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=ab27650 ]

CB-12524: Windows functionality for Gradle execution


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit 3cc4e5b4405c7604d4c759cf8901f8ae6921e49a in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=3cc4e5b ]

CB-12524: This now fetches the template from  inside of the Android Studio 
directory, and falls back to a locally installed Gradle instance


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit 2d3f3cae13682b3ed0c131957c707f43672d9212 in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=2d3f3ca ]

CB-12524: Set Gradle to always build in the project directory since our tests 
don't run scripts from the project directory by default


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-12524:
--

Commit 9dbffa6ee83ee0019cebb6262c78958e7e3b1086 in cordova-android's branch 
refs/heads/master from [~bowserj]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=9dbffa6 ]

CB-12524: Forgot to check for the android command on the target check


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-android/pull/367


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
OK, it passes here: https://travis-ci.org/infil00p/cordova-android, so it's 
time to tidy this up and merge this in.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
SoI had to delete a test that no longer will ever pass thanks to the 
Android SDK tools, and the other problem we're running into now is that we DO 
in fact require Gradle to be higher than 2.14, and it doesn't matter when we 
update the wrapper, due to build.grade having the android plugin instantiated.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user mlaffargue commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
Please we need this.

For a workaround you can download old version of Command Line Tools here : 
https://developer.android.com/studio/index.html#downloads

Then just rename in **Android SDK** your current _tools_ folder 
"tools_backup" and put the one in the zip instead.

At least could make _Ionic2 run_ work


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-10 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
Tested against a Linode box with Android Tools updated to latest and Gradle 
Installed: (via 
http://exponential.io/blog/2015/03/30/install-gradle-on-ubuntu-linux/)

I have no idea how to get this to work on Travis, though!


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

[ 
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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user shazron commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
Did tests on the old sdk (pre-G-eff-up), build was fine. Now upgrading my 
Android Studio and updating sdks


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105255990
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
--- End diff --

@dpogue Honestly, we're just installing the wrapper, so any will work.  I 
wanted to delete 
https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/builders/GradleBuilder.js#L187
 for a while, since it replaces everything with an old version of Gradle that 
just gets updated anyway, but we might just have to keep it in and update it to 
the latest Gradle supported.

FYI: My homebrew keeps fetching 2.2, and Android Studio 2.3 is packaged 
with 3.2 on my Windows and Mac partitions.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user dpogue commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105253370
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
--- End diff --

A particular version of gradle, or just gradle in general?

Ubuntu gradle versions vary from release to release: 
http://packages.ubuntu.com/search?keywords=gradle
ArchLinux and homebrew (macOS) are both shipping the latest version (3.4)
Latest Android Studio ships 3.3


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105252250
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
--- End diff --

I have no idea where Android Studio is installed on a Linux box.  It 
literally could be anywhere!  If you're not using Android Studio, you HAVE to 
have Gradle installed.  It's either one or the other from here on out.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105240916
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
--- End diff --

What about not-Mac and not-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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105241573
  
--- Diff: bin/templates/cordova/lib/builders/GradleBuilder.js ---
@@ -65,6 +65,20 @@ GradleBuilder.prototype.getArgs = function(cmd, opts) {
 return args;
 };
 
+/*
+ * This returns a promise
+ */
+
+GradleBuilder.prototype.runGradleWrapper = function(gradle_cmd) {
+   var gradlePath = path.join(this.root, 'gradlew');
+   if(fs.existsSync(gradlePath)) {
+   ;
--- End diff --

What's going on in here?


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105241092
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
+  androidStudioPath = path.join('/Applications', 'Android Studio.app', 
'Contents', 'gradle');
+} else if (os.platform() == "win32") {
+  androidStudioPath = path.join(process.env["ProgramFiles"],'Android', 
'Android Studio', 'gradle');
+}
+
+if(androidStudioPath != null && fs.existsSync(androidStudioPath)) {
+  var dirs = fs.readdirSync(androidStudioPath);
+  if(dirs[0].split('-')[0] == "gradle")
+  {
+return path.join(androidStudioPath, dirs[0], "bin", "gradle");
+  }
+} else {
+  //OK, let's try to check for Gradle!
+  return forgivingWhichSync('gradle');
+}
+};
+
 // Returns a promise. Called only by build and clean commands.
 module.exports.check_gradle = function() {
 var sdkDir = process.env['ANDROID_HOME'];
+var d = Q.defer();
 if (!sdkDir)
 return Q.reject(new CordovaError('Could not find gradle wrapper 
within Android SDK. Could not find Android SDK directory.\n' +
 'Might need to install Android SDK or set up \'ANDROID_HOME\' 
env variable.'));
 
-var wrapperDir = path.join(sdkDir, 'tools', 'templates', 'gradle', 
'wrapper');
-if (!fs.existsSync(wrapperDir)) {
-return Q.reject(new CordovaError('Could not find gradle wrapper 
within Android SDK. Might need to update your Android SDK.\n' +
-'Looked here: ' + wrapperDir));
-}
-return Q.when();
+var path = this.get_gradle_wrapper();
+console.log(path);
--- End diff --

Probably want to remove this console.log?


> 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 se

[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105246727
  
--- Diff: bin/templates/cordova/lib/builders/GradleBuilder.js ---
@@ -65,6 +65,20 @@ GradleBuilder.prototype.getArgs = function(cmd, opts) {
 return args;
 };
 
+/*
+ * This returns a promise
+ */
+
+GradleBuilder.prototype.runGradleWrapper = function(gradle_cmd) {
+   var gradlePath = path.join(this.root, 'gradlew');
+   if(fs.existsSync(gradlePath)) {
+   ;
--- End diff --

I think the spacing is off, too, yeah?


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user filmaj commented on a diff in the pull request:

https://github.com/apache/cordova-android/pull/367#discussion_r105241332
  
--- Diff: bin/lib/check_reqs.js ---
@@ -78,21 +79,46 @@ module.exports.check_ant = function() {
 });
 };
 
+module.exports.get_gradle_wrapper = function() {
+var androidStudioPath;
+if(os.platform() == "darwin") {
--- End diff --

K, based on the rest of the flow, it looks like for not-Mac and 
not-Windows, we're hoping that `gradle` is on the PATH. Is that acceptable? I 
don't have an opinion either way but I think it's worth posing the question.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/365
  
@csantanapr The .gitignore prevents us from committing JARs.  This PR 
didn't even work because we didn't distribute the JAR.  We're not allowed to 
distribute a JAR.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

[ 
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- 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

[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/367
  
Ah, how did that rogue commit get in there.  I'll be doing some git 
gardening before merging this, FYI


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-09 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user csantanapr commented on the issue:

https://github.com/apache/cordova-android/pull/365
  
I'm confuse what jar you are referring?
I don't see the jar on the change set files

Adding a gradlew it's perfectly fine, this is useful as it takes care of 
the dependencies and saves on installation versions headaches 


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p closed the pull request at:

https://github.com/apache/cordova-android/pull/365


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

Github user infil00p commented on the issue:

https://github.com/apache/cordova-android/pull/365
  
Closing this PR because we can't distribute JARs, we have to find another 
solution.  Apologies.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-07 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12524:
-

This doesn't fix the emulator, just the tools/templates bug.  We just removed 
the gradle check, since we're bringing our own gradle wrapper now that Google 
deleted their old Gradle wrapper.  You can build and deploy to a device, but 
not an emulator at this time.  We are working on the emulator deployment here: 
https://issues.apache.org/jira/browse/CB-12546

Please open new issues when other things break due to 25.3.1.


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-07 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-12524:
-

GitHub user infil00p opened a pull request:

https://github.com/apache/cordova-android/pull/365

CB-12524: Fix the GradleBuilder so that it builds the project with an 
included Gradle



### Platforms affected
Android

### What does this PR do?
This PR adds the Gradle Wrapper for the Cordova Framework and uses it for 
all projects.  This has been added after the recent changes Google has made to 
the Android SDK tools from 25.3.1.

### What testing has been done on this change?
Tested the build.

### Checklist
- [ ] [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- 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/365.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 #365






> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-07 Thread Jack Eastburn (JIRA)

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

Jack Eastburn commented on CB-12524:


Joe Bowser, it doesn't have to be a fresh install for this error to occur. 
Looks like it's affecting everyone who upgraded to Android SDK tools 25.3.x. I 
can confirm that rolling back updates fixes the issue because it fixes the 
filepath issue for the wrapper.



> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-06 Thread Wren Reynolds (JIRA)

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

Wren Reynolds commented on CB-12524:


I got a similar error when running `cordova build android`. Previously I was 
building Android in Cordova with no issue. Then today I installed the latest 
Android Studio and it required me to update the SDK. After the update, the 
Cordova build stopped working at all. As mentioned in Janusz Wiśniowski's 
workaround, installing a previous version of Android SDK fixes it.

This is reported as happening in NativeScript 
https://github.com/NativeScript/nativescript-cli/issues/2583 and also affects 
React Native. 
https://github.com/facebook/react-native/blob/master/scripts/run-android-emulator.sh#L18

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-06 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-12524:
---

https://code.google.com/p/android/issues/detail?id=235455&q=sdkmanager&colspec=ID%20Status%20Priority%20Owner%20Summary%20Stars%20Reporter%20Opened

> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-06 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-12524:
-

I got around a similar issue by doing the following:

1) Downloading the sdk tools from google. bottom of 
https://developer.android.com/studio/index.html
2) copying templates directory from the download into 
`~/Library/Android/sdk/tools` (mac)

This isn't a long term fix. We are working on fixing this for everyone in 
cordova-android itself. 

> 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
>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 check_reqs.js 
> line 88
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-06 Thread Joe Bowser (JIRA)

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

Joe Bowser commented on CB-12524:
-

So, to get this error you have to install fresh.

[~janusz.wisniowski] Do you have the link to the official announcement? Or is 
this something Google spurng on everyone.  (Not saying I don't believe you, 
I've found other people on other frameworks with similar problems to us when I 
searched for the deprecation myself)


> 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
>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 check_reqs.js 
> line 88
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-03 Thread JIRA

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

Janusz Wiśniowski commented on CB-12524:


I also encountered the issue. It seems that latest Android SDK tools (25.3.x) 
are not compatible with latest Cordova Android. I didn't test readding andorid 
platform to the project, I used [a workaround suggested in the Ionic 
forum|https://forum.ionicframework.com/t/error-could-not-find-gradle-wrapper-within-android-sdk/79527/5].

And BTW: {{android}} command is deprecated in the latest Android SDK in favour 
of {{sdkmanager}}.

> 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
>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 check_reqs.js 
> line 88
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-02 Thread Gary N Griswold (JIRA)

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

Gary N Griswold commented on CB-12524:
--

I have no explanation, but it is working now after I re-added android platform. 
 I am certain that I tried removing and re-adding the android platform 
yesterday, and it did not fix the problem at that time.

Since the problem was intermittent, and the fix unexplained, should I remove 
the bug request, or simply lower its priority?

The same error did occur with an attempt to add cordova-plugin-file, yesterday.

Yesterday, it was failing because it was trying to find gradle wrapper under 
sdk/tools/templates/gradle/wrapper, but sdk/tools/templates did not exist.  It 
still does not exist.  I am not aware of where it finds the gradle wrapper, now.

The project has the following plugins when android is the only platform:
com-shortsands-videoplayer 0.0.1 "VideoPlayer"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.5 "Console"
cordova-plugin-whitelist 1.3.1 "Whitelist"



> 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
>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 check_reqs.js 
> line 88
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-12524) add plugin failing because it cannot find tools/templates

2017-03-02 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12524:
---

If you run {{android}} and show only "Installed" packages, what versions do you 
have?

Also, does the issue occur with other plugins, or only this plugin in 
particular? 

> 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
>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 check_reqs.js 
> line 88
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org