{ "id": "147762", "key": "AC-125", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-11-04T07:34:58.000+0000", "created": "2015-05-13T00:41:32.000+0000", "labels": [ "android", "scons" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2015-11-04T07:34:58.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "When I build my Android app with a continuous integration build, 4.0.0.RC2, I get an APK of 21.5mb. When I build the Titanium SDK from source, my APK is 43.3mb.\r\n\r\nI'm using the following command to build the Titanium SDK for Android:\r\n\r\n{code}\r\nscons build_jsca=0 android=1 android_sdk=/Users/me/Library/android-sdk-macosx\r\n{code}\r\n\r\nThat's a big APK, and too big for us to be able to use an APK built with an SDK built from source in the Play Store. Any ideas what I could be doing wrong, or what could be causing this? Same exact app source, built after just changing the SDK.", "attachment": [], "flagged": false, "summary": "Android: APK built with scons-built SDK is double the size of APK built with continuous integration SDK", "creator": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "IDE: Appcelerator Studio, build: 4.0.0.201505011227\r\nSDK: 4.0.0.RC2 and a custom one built from master\r\nPlatform: Android", "comment": { "comments": [ { "id": "352796", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~athorne] An APK is just a .zip file. Can you unzip the two and do a directory comparison to see?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-18T03:29:45.000+0000", "updated": "2015-05-18T03:29:45.000+0000" }, { "id": "353024", "author": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ah. Silly me, [~ingo]! The difference is the continuous integration SDK removes the assets/Resources/iphone directory and the scons-built SDK leaves it there. I'm using Appcelerator Studio to package for Play Store, BTW.", "updateAuthor": { "name": "athorne", "key": "athorne", "displayName": "Alex Bernier", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-19T21:12:15.000+0000", "updated": "2015-05-19T21:12:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }