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

Android: Packaging: With a non-existing module added to the project in the tiapp.xml,app packages without error and gets installed on device

    Details

    • Story Points:
      3

      Description

      This is not a regression. IT exists as far as 1.8.2.
      Adding a module to the project in the tiapp.xml which does not exist such as <module version="1.0">not.there</module> should prevent the app from getting packaged but it is not. App gets successfully packaged and gets installed on android device.It runs on emulator also without error/warnings.
      If I try to install it directly on simulaor or iOS/android device, it gives appropriate error for module not found like:
      For iOS simulator and device error is:
      [ERROR] Could not find the following required iOS modules:
      [ERROR] id: not.there version: 1.0

      For android device, error is:
      [ERROR] Failed installing com.appcelerator.timob9090: pkg: /data/local/tmp/app.apk
      Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

      Steps to reproduce
      1. Create a new app in TiStudio
      2. Add a module to the project in the tiapp.xml which does not exist such as <module version="1.0">not.there</module>
      3. Package the app/run on android emulator

      Actual result:
      The app gets packaged/runs on emulator without error.

      Expected result:
      The app should fail packaging with appropriate error result like
      [ERROR] Could not find the following required iOS modules:
      [ERROR] id: not.there version: 1.0

      And give error for emulator also like(as we get in case of device)
      [ERROR] Failed installing com.appcelerator.timob9090: pkg: /data/local/tmp/app.apk
      Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                sbhadauria Shyam Bhadauria
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code