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

Android: Failed to encrypt JavaScript files (Windows)

    Details

      Description

      Steps to reproduce

      1. Upgraded Titanium Studio to 3.2.0 GA from 3.1.3 GA, including upgrade for Alloy to 1.3.0.
      2. Created new Mobile App Project - Default Alloy Project.
      3. Attempted to Run the project on an Android device. Received the following error during project build:

      [INFO] :   Alloy compiler completed successfully
      [INFO] :   Processing JavaScript files
      [INFO] :   Encrypting JavaScript files: C:\Users\rsam\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\android\titanium_prep.win32.exe "com.smartkom.test2" "C:\Android\appcelerator\Test2\build\android\assets" "app.js" "alloy/backbone.js" "alloy/CFG.js" "alloy/constants.js" "alloy/controllers/BaseController.js" "alloy/controllers/index.js" "alloy/styles/index.js" "alloy/sync/localStorage.js" "alloy/sync/properties.js" "alloy/sync/sql.js" "alloy/underscore.js" "alloy/widget.js" "alloy.js" "_app_props_.json"
      [INFO] :   Encrypting JavaScript files: C:\Users\rsam\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.GA\android\titanium_prep.win64.exe "com.smartkom.test2" "C:\Android\appcelerator\Test2\build\android\assets" "app.js" "alloy/backbone.js" "alloy/CFG.js" "alloy/constants.js" "alloy/controllers/BaseController.js" "alloy/controllers/index.js" "alloy/styles/index.js" "alloy/sync/localStorage.js" "alloy/sync/properties.js" "alloy/sync/sql.js" "alloy/underscore.js" "alloy/widget.js" "alloy.js" "_app_props_.json"
      [ERROR] :  Failed to encrypt JavaScript files
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      

      Note: this procedure worked fine on my system prior to upgrading Titanium/Alloy. Also my previously developed apps, which worked fine, are demonstrating the same behavior now on the new Titanium/Alloy.

      Workaround

      Please try downloading the .zip file attached to the ticket (titanium_prep-mt.zip) and unzipping it into:

      C:\path\to\Titanium\mobilesdk\win32\3.2.0.GA\android

        Attachments

        1. .log
          3 kB
        2. mrahman_logs
          21 kB
        3. titanium_prep-mt.zip
          67 kB
        4. Titanium 3.2.0 diagnostic log.txt
          15 kB
        5. trace.txt
          13 kB

          Issue Links

            Activity

              People

              • Assignee:
                ayeung Allen Yeung
                Reporter:
                wadders704 Sam Robertson
                Reviewer:
                Praveen Innamuri (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code