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

Android: CommonJS Modules not included/functional in distribution build

    Details

      Description

      Multiple reports have come in from the community that CommonJS modules (in the Resources directory) are not being found in Android .apk files that have been packaged for distribution. I have confirmed this to be the case myself on both Gingerbread and Froyo devices with a .apk I built for distribution through Titanium Studio

      To reproduce, try packaging an application for distribution using CommonJS JavaScript modules. Any simple module should be able to reproduce it, but you can use my sample app from here:

      https://github.com/appcelerator-developer-relations/Forging-Titanium/tree/master/ep-003/CustomComponents

      The stack trace I got from my device is located here:

      http://www.pastie.org/pastes/2435429/text

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                billdawson Bill Dawson
                Reporter:
                kwhinnery Kevin Whinnery
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code