Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
6.2.1
-
Windows 7, 64-bit
Android Studio 2.3.1
cordova 6.5.0
cordova-android 6.2.1
Description
See http://stackoverflow.com/a/43523141/245966
basically on my machine in `cordova/lib/check_reqs.js`:
process.env['ProgramFiles'] === 'C:\\Program Files (x86)'
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:
C:\Program Files\Android\Android Studio C:\Program Files (x86)\Android\android-sdk
(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?