Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15857

CLI: Android build fails when doing a device build, then doing an emulator build on Windows

    Details

      Description

      If you do an Android device build, then do an emulator build without cleaning, the following error occurs:

      [DEBUG] Removing old file: C:\Users\Thomas Anderson\testapp2\build\android\assets\alloy\backbone.js
       
      C:\Users\Thomas Anderson\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184
              throw e;
                    ^
      Error: ENOENT, no such file or directory 'C:\Users\Thomas Anderson\testapp2\build\android\assets\alloy\backbone.js'
          at fs.unlinkSync (fs.js:760:18)
          at AndroidBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\android\cli\commands\_build.js:2810:7)
          at Array.forEach (native)
          at AndroidBuilder.removeOldFiles (C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\android\cli\commands\_build.js:2807:35)
          at C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:548:21
          at C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:224:13
          at iterate (C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:131:13)
          at C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:142:25
          at C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:226:17
          at AndroidBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\3.2.0.v20131127114913\node_modules\async\lib\async.js:553:34)
      

      This happens on Windows 8 while building an Alloy app, though I'm not sure if it's Windows or Alloy specific.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
              Reviewer:
              Allen Yeung
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17946
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code