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

Android: Ti.include with Array Is Broken

    Details

      Description

      {html}<div><p>Ti.include([myfile.js]);</p>
      <p>Doesn't handle the array type.</p>
      <pre>
      <code>10-20 23:42:04.380: ERROR/KrollContext(419): Caused by: java.io.FileNotFoundException: Resources/[Ljava.lang.Object;@45020db8
      10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.openAsset(Native Method)
      10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.open(AssetManager.java:313)
      10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.open(AssetManager.java:287)
      10-20 23:42:04.380: ERROR/KrollContext(419): at org.appcelerator.titanium.io.TiResourceFile.getInputStream(TiResourceFile.java:78)
      10-20 23:42:04.380: ERROR/KrollContext(419): at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:191)
      10-20 23:42:04.380: ERROR/KrollContext(419): ... 21 more</code>
      </pre></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              mculpepper Marshall Culpepper
              Reporter:
              dthorp Don Thorp
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration