Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23912] Android: Selecting "latest" in tiapp.xml for modules, while having both modules with apiversion 2 & 3 & building gives error "Found incompatible Titanium Modules"

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-09-26T05:20:32.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.0.0, node-appc 0.2.38, node-appc 0.2.39
ComponentsAndroid, Hyperloop, Tooling
Labelsqe-6.0.0
ReporterLokesh Choudhary
AssigneeFeon Sua Xin Miao
Created2016-09-15T21:33:17.000+0000
Updated2016-10-12T04:51:22.000+0000

Description

Steps to reproduce:

1. Make sure you have both modules with apiversion 2 & 3. ( e.g: I have module ver 2.0.0 & 1.2.7 for hyperloop). 2. In the tiapp.xml select latest for any module. 3. Build the app for android device/emulator.

Actual results:

1. You will get error:
[ERROR] :  Found incompatible Titanium Modules:
[ERROR] :     id: hyperloop	 version: 1.2.7	 platform: android	 min sdk: 5.4.0
[ERROR] :     id: ti.map	 version: 2.3.10	 platform: android	 min sdk: 4.1.0
2. Basically it does not select the latest even though avaliable or somehow finds module with apiversion 2 & throws an incompatiblity error.

Expected result:

1. If latest is selected in the tiapp.xml & SDK 6.0.0 is selected it should not matter if I have a module with apiversion 2, it should pickup one with apiversion 3 & build.

Comments

  1. Feon Sua Xin Miao 2016-09-16

    node-appc PR: https://github.com/appcelerator/node-appc/pull/119
  2. Chris Barber 2016-09-19

    tisdk master PR: https://github.com/appcelerator/titanium_mobile/pull/8398 tisdk 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8399
  3. Lokesh Choudhary 2016-09-19

    Verified the fix. Selecting latest selects the latest & we do not see any incompatibility error when modules with both ApiVersion 2 & 3 are present. Closing. Environment: Appc Studio : 4.8.0.201609101003 Ti SDK : 6.0.0.v20160919100523 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.8-6 Appc CLI : 6.0.0-46 Node: 4.4.4 Nexus 6 - Android 6.0.1

JSON Source