Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
6.5.0
-
None
-
None
-
node 0.12.2
-
Patch
Description
Using an older version of node (if it's still in the backwards compatible window). A change in Cordova Android from hardcoding the path for Android Studio to iterating through the applications calls .startsWith('Android Studio'), (which I'm guessing exists in a later node version and not the one we are stuck with (0.12.2)) breaks `cordova build android` (or run, etc.) with 'Undefined is not a function'.
Swapping to 'indexOf' fixes this. Commit is here:
https://github.com/apache/cordova-android/commit/e3198b0f6b3c0d0877e8c1618bea1874392c51dd
I can write a PR for this if this is something that should be backwards compatible. Please let me know if I will need to version lock with a previous Cordova Android version due to the old version of node we use.
Attachments
Issue Links
- is related to
-
CB-11977 Remove support for node 0.x
- Closed