You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/04/20 17:00:09 UTC
[jira] [Comment Edited] (CB-12677) `cordova requirements android`
fails when Android Studio is in "Program Files" instead of "Program Files
(x86)"
[ https://issues.apache.org/jira/browse/CB-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977069#comment-15977069 ]
Joe Bowser edited comment on CB-12677 at 4/20/17 4:59 PM:
----------------------------------------------------------
[~filmaj] I think we should just drop this check and make Cordova require Gradle in the next major release. I hate to do this because this is a requirement for Apache legal purposes and it's not a technical requirement. That being said there's another annoying issue that has come up with using Android Studio's version of Gradle causing the upgrade of Android Studio to hit a snag.
was (Author: bowserj):
[~filmaj] I think we should just drop this check and make Cordova require Gradle in the next major release. I hate to do this because this is a requirement for Apache legal purposes and it's not a technical requirement, that said there's another annoying issue that has come up with using Android Studio's version of Gradle causing the upgrade of Android Studio to hit a snag.
> `cordova requirements android` fails when Android Studio is in "Program Files" instead of "Program Files (x86)"
> ---------------------------------------------------------------------------------------------------------------
>
> Key: CB-12677
> URL: https://issues.apache.org/jira/browse/CB-12677
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 6.2.1
> Environment: Windows 7, 64-bit
> Android Studio 2.3.1
> cordova 6.5.0
> cordova-android 6.2.1
> Reporter: jakub-g
>
> See http://stackoverflow.com/a/43523141/245966
> basically on my machine in `cordova/lib/check_reqs.js`:
> {code}
> process.env['ProgramFiles'] === 'C:\\Program Files (x86)'
> {code}
> whereas I have android studio in `C:\Program Files` and I think I might not be the only one with the same problem.
> In fact on my machine I have the following folders somehow:
> {code}
> C:\Program Files\Android\Android Studio
> C:\Program Files (x86)\Android\android-sdk
> {code}
> (The second folder is some leftovers from old installation, not used anymore; I keep things in `D:\java\android\sdk` since quite a while)
> What would be a good fix in your opinion, other than checking both folders?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org