{ "id": "138247", "key": "TIMOB-17872", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-11-05T18:36:32.000+0000", "created": "2014-10-17T19:36:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_android_tooling_smoke", "qe-3.4.1", "qe-manualtest", "qe-testadded" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "42391", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "138561", "key": "AC-1085", "fields": { "summary": "project failed to build ", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42248", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "138245", "key": "TIMOB-17871", "fields": { "summary": "Android: Genymotion - Cannot install Titanium app to Genymotion with latest Android Platform-tools and build-tools 20", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "42254", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "138255", "key": "TIMOB-17874", "fields": { "summary": "Android 5.0: Improve CLI support", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T18:38:11.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" } ], "attachment": [ { "id": "52175", "filename": "build_errors.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T21:26:30.000+0000", "size": 424059, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Update to Android build tools ver.21 breaks the build process", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.0.201409261245\r\nTi SDK : 3.4.0.GA & latest 3.4.1\r\nMac OSX : Mavericks 10.9.4 & yosemite GM candidate 2\r\nAlloy : 1.5.1\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1", "closedSprints": [ { "id": 247, "state": "closed", "name": "2014 Sprint 22 Tooling", "startDate": "2014-10-27T20:31:23.285Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T19:26:04.224Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "329355", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Check out the comments on: https://code.google.com/p/android/issues/detail?id=77629", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T17:13:45.000+0000", "updated": "2014-10-24T17:13:45.000+0000" }, { "id": "329376", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "[~ingo] but that issue is Windows-specific and this ticket is on Mac", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-10-24T18:48:59.000+0000", "updated": "2014-10-24T18:48:59.000+0000" }, { "id": "329378", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Understood. It is suspiciously similar, though.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T19:01:34.000+0000", "updated": "2014-10-24T19:01:34.000+0000" }, { "id": "329387", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Yup, I experienced some similarities. I didn't update to V21 tools, but tried to use appcompat V21 in my SDK fork and modules, and that just doesn't work with the V20 tools, as some people reported on that thread.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-10-24T19:40:30.000+0000", "updated": "2014-10-24T19:40:30.000+0000" }, { "id": "329404", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After update to android build tools 21.0.2 , verified the issue on MAC OSX & Windows 8.1. \r\nThe issue still exist. The build process is still failing for me.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T20:19:19.000+0000", "updated": "2014-10-24T20:19:34.000+0000" }, { "id": "329406", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does it fail with exactly the same error?\r\n\r\nNote: https://android.googlesource.com/platform/frameworks/base/+/android-l-preview_r2/tools/aapt/AaptAssets.cpp, line 2864 as the likely line throwing the error.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T20:23:36.000+0000", "updated": "2014-10-24T20:28:57.000+0000" }, { "id": "329408", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@ingo- On win 8.1- 64 bit I see errors as below:\r\n{code}\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] : Failed to package application:\r\n{code}\r\nNothing as you mentioned in your comment above. \r\nMight be titanium is showing the same error you mentioned but with a different error, not sure here though.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T20:34:57.000+0000", "updated": "2014-10-24T20:36:13.000+0000" }, { "id": "329425", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Another set of data: I tried creating a native Android app with the latest Android build tools with ADT + Eclipse and I'm seeing build errors; see build_errors.png.\r\n\r\nTested on:\r\n\r\nOS: Yosemite (10.10)\r\nEclipse: Luna (4.4.1)\r\nADT: 23.0.4.1468518\r\nAndroid SDK Tools: 23.0.5\r\nAndroid SDK Platform-tools: 21\r\nAndroid SDK Build-tools: 21.0.2", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T21:26:00.000+0000", "updated": "2014-10-24T21:26:00.000+0000" }, { "id": "329629", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I have been trying to figure out a workaround on a Mac with no success. Here's what I have tried:\r\n\r\n1. Put titanium.jar and aps-analytics.jar in a path without spaces\r\n2. Extract titanium.jar and aps-analytics.jar and reference their directories\r\n3. Rezip titanium.jar and aps-analytics.jar without compression\r\n4. Run from android folder with relative paths\r\n5. Generating bad zip files\r\n\r\nI've been analyzing the source at https://android.googlesource.com/platform/frameworks/base/+/android-l-preview_r2/tools/aapt/AaptAssets.cpp and I'm not convinced that it's the same code used in the final version. For example, after enabling verbose output, I see \"Including resources from package: /Users/chris/titanium.jar\", but then in the event of a bad zip file it will say \"W/zipro (41322): Error opening archive /Users/chris/titanium.jar: Invalid file\" and I don't see a clear code path where the zip file is being opened.\r\n\r\nA possible next step is to compile a custom aapt with more debug code.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-27T22:19:53.000+0000", "updated": "2014-10-27T22:19:53.000+0000" }, { "id": "329812", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The latest comment on https://code.google.com/p/android/issues/detail?id=77629#c112 indicates that there is NO issue with the OS X apps version. Either we're missing something, or they are.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T19:11:53.000+0000", "updated": "2014-10-28T19:11:53.000+0000" }, { "id": "329839", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here's another source link: https://github.com/android/platform_frameworks_base/blob/master/tools/aapt/AaptAssets.cpp", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-28T22:35:44.000+0000", "updated": "2014-10-28T22:35:44.000+0000" }, { "id": "329937", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We've filed a bug with Google. Please see here: https://code.google.com/p/android/issues/detail?id=78354", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-29T17:06:50.000+0000", "updated": "2014-10-29T17:06:50.000+0000" }, { "id": "330224", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Today we got new android build tools update to ver 21.1 & I still see the build failure.\r\n\r\n{code}\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] : Failed to package application:\r\n[ERROR] : \r\n[ERROR] : ERROR: Asset package include '/Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.4.1.v20141028145715/android/titanium.jar' not found.\r\n{code}\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.1.v20141028145715\r\nCLI : 3.4.1-dev\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10 \r\nAndroid Build Tools : 21.1\r\nSDK Platform Tools : 21", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-31T18:41:11.000+0000", "updated": "2014-10-31T18:41:11.000+0000" }, { "id": "330748", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/6308\r\n3.4.1 PR: https://github.com/appcelerator/titanium_mobile/pull/6310\r\n3.4.X PR: https://github.com/appcelerator/titanium_mobile/pull/6311", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-04T23:18:26.000+0000", "updated": "2014-11-05T18:41:36.000+0000" }, { "id": "330854", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Works as expected. Tested using Android tools 21, building to both Genymotion (4.4.2) and device (GNex 4.2.2)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-11-05T18:36:32.000+0000", "updated": "2014-11-05T18:36:32.000+0000" }, { "id": "330906", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nBuild succeeds when android build tools 21.1 are installed.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.4.1.v20141105104918, 3.4.2.v20141105104917, 3.5.0.v20141105133558\r\nCLI : 3.4.1-alpha\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nNexus 5 - Android 5.0\r\nAndroid build tools : 21.1.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-11-05T22:32:16.000+0000", "updated": "2014-11-05T22:32:16.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }