{ "id": "91820", "key": "TIMOB-9130", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-10-17T21:11:55.000+0000", "created": "2012-05-14T14:35:26.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "fastdev", "qe-and040912" ], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17256", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "64265", "key": "TIMOB-3605", "fields": { "summary": "Android: Build Fastdev projects with all modules initially", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "32618", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "97452", "key": "TIMOB-9989", "fields": { "summary": "CLI: \"fastdev\" builtin for Android", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-13T21:09:33.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When an android project containing two versions of the same module is redeployed to the emulator using a different module version without cleaning the project, it appears both modules are included in the app.apk.\r\n\r\napp.apk size with one module version: 5.5 MB\r\napp.apk size with both module versions and project cleaning between deployments: 5.5 MB\r\napp.apk size with both module versions when packaged for distribution: 5.5 MB\r\n\r\napp.apk size with both module versions and no project cleaning between deployments: 6.2 MB\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a new Titanium Mobile project with Android selected.\r\n2. Create a new Android Module with version set to 1.0.\r\n3. Package the module to the project.\r\n4. In the module \"manifest\" file, change the version to 2.0.\r\n5. Package the module to the project (again).\r\n\r\nThere should now be a 1.0 and 2.0 version of the module in the project modules directory.\r\n\r\n6. Copy the example app.js from the module to the project.\r\n7. Clean the project.\r\n8. Deploy project to emulator.\r\n9. Check the app.apk size.\r\n10. Change the module version in the project tiapp.xml to 1.0 (it was 2.0).\r\n11. Without cleaning, deploy project to emulator.\r\n10. Check the app.apk size.\r\n\r\nExpected Result:\r\n\r\nBoth app.apk sizes should be identical.\r\n\r\nActual Result:\r\n\r\napp.apk size is larger if the project is not cleaned and the module version is changed for the second emulator deployment.", "attachment": [], "flagged": false, "summary": "Android: FastDev: old module versions appear to be included in app apk", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.0.1.GA2, 2.0.2.v20120514121649\r\nStudio: 2.0.2.201205111839\r\nOS: Snow Leopard\r\nDevices Tested: Android Emulator 2.2", "comment": { "comments": [ { "id": "275516", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We are deprecating FastDev in version 3.2.0, so marking this as \"Won't Fix\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-17T21:11:55.000+0000", "updated": "2013-10-17T21:11:55.000+0000" }, { "id": "411550", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-13T21:09:33.000+0000", "updated": "2017-03-13T21:09:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }