{ "id": "162287", "key": "TIMOB-23708", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18231", "name": "hyperloop 1.2.5", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-30T14:52:48.000+0000", "created": "2016-07-30T14:21:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "aar", "android", "hyperloop", "needTestCase" ], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-09-08T22:45:18.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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "Including an .aar file which doesn't have an assets folder fails compiling with the following error:\r\n\r\n{code:java}\r\n[ERROR] Failed to extract/handle aar zip: /Users/appdev/Development/Titanium_Workspace/Active/hyperloopFCM/platform/android/firebasemessaging.aar\r\n[ERROR] An error occurred during build after 1s 594ms\r\n[ERROR] ENOENT, stat '/Users/appdev/Development/Titanium_Workspace/Active/hyperloopFCM/build/hyperloop/android/firebasemessaging/assets'\r\n{code}\r\n\r\nUsed aar: Firebase-messaging 9.2.1 from the google sdk (/extras/google/m2repository/com/google/firebase/firebase-messaging/)\r\n\r\nhyperloop 1.2.0.Beta\r\nSDK 5.4.0\r\nAndroid 6.0.1", "attachment": [], "flagged": false, "summary": "Hyperloop: Android aar without asset folder fails compiling", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": "hyperloop 1.2.0.Beta\r\nSDK 5.4.0\r\nAndroid 6.0.1", "comment": { "comments": [ { "id": "392052", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/44", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-30T14:52:33.000+0000", "updated": "2016-07-30T14:52:33.000+0000" }, { "id": "392102", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~michael] Would you be so kind and write-down a simple \"steps to test\" here, so our QE can verify the fix?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-01T09:15:36.000+0000", "updated": "2016-08-01T09:15:36.000+0000" }, { "id": "392108", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "*Testcase:*\r\n\r\nCopy {{AndroidSDK/extras/google/m2repository/com/google/firebase/firebase-messaging/9.2.1/firebase-messaging-9.2.1.aar}} to {{apps/platform/android}}\r\n\r\nand try to compile the app. It will stop compiling with the error message above.\r\n\r\nThe include code when it is extracted would be:\r\n{code}\r\nvar FirebaseInstanceId = require('com.google.firebase.iid.FirebaseInstanceId');\r\n{code}", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-01T10:11:09.000+0000", "updated": "2016-08-01T10:14:02.000+0000" }, { "id": "395634", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nCompile completes successfully for android aar without asset folder.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.8.0.201609061702\r\nTi SDK : 6.0.0.v20160908065418\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.1\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.8-6\r\nAppc CLI : 6.0.0-38\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-08T22:45:06.000+0000", "updated": "2016-09-08T22:45:06.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }