Vladimir Kotikov created CB-10406:
-------------------------------------
Summary: android build throws an exception when running with --ant
flag
Key: CB-10406
URL: https://issues.apache.org/jira/browse/CB-10406
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 5.1.0
Reporter: Vladimir Kotikov
Assignee: Vladimir Kotikov
Priority: Minor
Fix For: 5.2.0
See the stacktrace below:
{noformat}
Error: TypeError: Path must be a string. Received undefined
at assertPath (path.js:8:11)
at Object.win32.join (path.js:221:5)
at hasCustomRules
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\lib\builders\AntBuilder.js:136:31)
at AntBuilder.build
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\lib\builders\AntBuilder.js:102:10)
at
e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\lib\build.js:142:24
at _fulfilled
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\node_modules\q\q.js:834:54)
at self.promiseDispatch.done
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\node_modules\q\q.js:863:30)
at Promise.promise.promiseDispatch
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\node_modules\q\q.js:796:13)
at
e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\node_modules\q\q.js:604:44
at runSingle
(e:\PROJECTS\Temp\test-arguments\platforms\android\cordova\node_modules\q\q.js:137:13)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]