{ "id": "102933", "key": "TIMOB-11319", "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": [ { "id": "14166", "description": "2012 Sprint 21 Core", "name": "2012 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-10-10T23:59:54.000+0000", "created": "2012-10-09T10:12:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-and100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-03-13T18:56:57.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": "12305", "name": "Core", "description": "Central component of the Platform (outside of Tooling, or platform specific implementation details)" } ], "description": "This is a Regression issue. Size in SDK 2.1.3 is 5.9MB\r\nSteps To Reproduce:\r\n1. create a default app.\r\n2. Distribute app on Android device.\r\n3. Verify its apk size.\r\n\r\nActual: In 3.0 SDK build, size is 6.1MB for V8 whereas in 2.1.3 its 5.9MB\r\nExpected: Size must be similar in respective builds.\r\n", "attachment": [ { "id": "32494", "filename": "213.zip", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T12:18:57.000+0000", "size": 5884634, "mimeType": "application/zip" }, { "id": "32492", "filename": "3.0.zip", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T12:18:31.000+0000", "size": 6000376, "mimeType": "application/zip" }, { "id": "32493", "filename": "MyTestApp.zip", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T12:18:31.000+0000", "size": 3694974, "mimeType": "application/zip" } ], "flagged": false, "summary": "Studio : Apk file size varies in 2.1.3 and in 3.0 build of SDK", "creator": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "OS: Mountain Lion OSX 10.8.2 & Lion 10.7.5\r\nTitanium SDK: 3.0.0.v20121008225713\r\nTitanium Studio: 3.0.0.201210072147\r\nXCode: 4.5.1", "comment": { "comments": [ { "id": "222896", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Environment used is same for 3.0 and 2.1.3.", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-10-10T12:19:14.000+0000", "updated": "2012-10-10T12:19:14.000+0000" }, { "id": "223019", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. ACTUAL APK FILE SIZE DIFFERENCES\n\n6060842 - APK 3.0.0\n5943795 - APK 2.1.3\n-------\n117047 bytes\n\nh3. INVESTIGATE DIFFERENCES\n\nh4. Two new drawables\nbtn_check_buttonless_on_64.png = 3832\nbtn_more_64.png = 5765\n----\nsum new drawables (already compressed): *9597*\n\nh4. libkroll-v8 size changes\narmeabi: 5546988 (3.0.0) - 5502148 (2.1.3) = 44840 delta\narmeabi-v7a: 5523500 (3.0.0) - 5479832 (2.1.3) = 43668 delta\n----\nsum delta is 88508\nthe .so files compress about 61%, so keep only 39% of that delta: *34518*\n\nh4. classes.dex size changes\n1640000 (3.0) - 1443124 (2.1.3) = 196876 delta\nclasses.dex deflates 56%, so keep only 44% of that delta: *86625*\n\nh4. Sum of all compressed deltas:\n9597 + 34518 + 86625 = *130740*\n\nh3. DISCUSSION\n\n# APK File size growth was 1.97%\n# libkroll-v8 will always grow as we add new features. There are two copies of it (one for each architecture). It grew by 34K (compressed) this time. This is to be expected.\n# classes.dex will also always grow as we add new features. Also any other java libraries we include will end up in there. For example, we had to update to the latest version of Google's android-support-v4.jar to support some accessibility features. Classes.dex grew by 87K this time. This is to be expected.\n# Two new drawables were added to support higher densities. Naturally this contributed to file size growth.\n", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-10T23:59:20.000+0000", "updated": "2012-10-10T23:59:20.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }