Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10406

android build throws an exception when running with --ant flag

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.0
    • Component/s: cordova-android
    • Labels:
      None

      Description

      See the stacktrace below:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              vladimir.kotikov Vladimir Kotikov
              Reporter:
              vladimir.kotikov Vladimir Kotikov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: