Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1302

Error After Add Jailbreak Related Properties

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CLI Release 7.0.3
    • Component/s: CLI
    • Labels:
    • Environment:

      SDK 7.0.1
      CLI 7.0.1
      Node 8.9.0

    • Customer Priority:
      Immediate
    • Customer Labels:

      Description

      Reproduce

      1. Create a default classic app.
      2. Add following lines into tiapp.xml

          <property name="appc-sourcecode-encryption-policy" type="string">remote</property>
          <property name="appc-security-debugger-detect">true</property>
          <property name="appc-security-jailbreak-detect">true</property>
      

      3. Run the app. Will get following error when building.

      [INFO] :   Generating i18n files
      [DEBUG] :  Writing en strings => /Users/sliang/Documents/Appcelerator_Studio_Workspace/NewClassicTest1/build/android/res/values/strings.xml
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      [INFO] :   Generating /Users/sliang/Documents/Appcelerator_Studio_Workspace/NewClassicTest1/build/android/res/values/theme.xml
      2018-02-07T09:21:12.607Z | ERROR  | An uncaught exception was thrown!
      First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
      2018-02-07T09:21:12.607Z | ERROR  | First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmiao Feon Sua Xin Miao
                Reporter:
                sliang Shuo Liang
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code