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

Android: Build to android on windows fails with issue related to Ti.Cloak

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 8.3.0
    • Fix Version/s: Release 8.3.0
    • Component/s: Android
    • Environment:

      OS: Win 10
      Ti SDK: 8.3.0.v20191114073239
      Appc CLI: 7.1.2-master.5
      Node: 8.16.0
      Java: 1.8.0_162

      Description

      When trying to build a default classic or alloy project to android device or emulator on windows OS it fails.
      This is a regression as the issue is not seen when build using 8.2.1.GA

      Steps to Reproduce:
      1. Create a project
      2. Build to android

      Actual Result:
      Following error is shown:

      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      2019-11-14T19:49:15.835Z | ERROR  | An uncaught exception was thrown!
      \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node is not a valid Win32 application.
      \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node
      2019-11-14T19:49:15.837Z | ERROR  | \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node is not a valid Win32 application.
      \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node
      2019-11-14T19:49:15.837Z | TRACE  | Error: \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node is not a valid Win32 application.
      \\?\C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\native\ti.cloak-win32-ia32-v8.node
          at Object.Module._extensions..node (module.js:682:18)
          at Module.load (module.js:566:32)
          at tryModuleLoad (module.js:506:12)
          at Function.Module._load (module.js:498:3)
          at Module.require (module.js:597:17)
          at require (internal/module.js:11:18)
          at Object.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\8.3.0.v20191114073239\node_modules\ti.cloak\lib\bindings.js:39:90)
          at Module._compile (module.js:653:30)
          at Object.Module._extensions..js (module.js:664:10)
          at Module.load (module.js:566:32)
      
      

      Expected Result: The project should build successfully for android.

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code