{ "id": "163219", "key": "TIMOB-23906", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-20T17:04:26.000+0000", "created": "2016-09-15T03:07:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "aar", "cli", "hyperloop", "ti" ], "versions": [ { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [], "assignee": null, "updated": "2019-08-20T17:04:26.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": "In my project I include intercom-sdk-base-3.0.8.aar inside of /app/platform/android\r\n\r\nInside the archive is that additional dependency jar at libs/repackaged_dependencies.jar\r\n\r\nThe generated path to include this jar is incorrect causing the following error to be generated:\r\n\r\n[ERROR] Failed to run dexer:\r\n[ERROR] \r\n[ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:\r\n[ERROR] java.io.FileNotFoundException: /Users/jerodfritz/Documents/Appcelerator_Studio_Workspace/Prspctr/build/hyperloop/android/intercom-sdk-base-3.0.8/classes.jar,/Users/jerodfritz/Documents/Appcelerator_Studio_Workspace/Prspctr/build/hyperloop/android/intercom-sdk-base-3.0.8/libs/repackaged_dependencies.jar (No such file or directory)\r\n[ERROR] at java.util.zip.ZipFile.open(Native Method)\r\n[ERROR] at java.util.zip.ZipFile.(ZipFile.java:215)\r\n[ERROR] at java.util.zip.ZipFile.(ZipFile.java:145)\r\n[ERROR] at java.util.zip.ZipFile.(ZipFile.java:159)\r\n[ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)\r\n[ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)\r\n[ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)\r\n[ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:672)\r\n[ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:574)\r\n[ERROR] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)\r\n[ERROR] at com.android.dx.command.dexer.Main.run(Main.java:277)\r\n[ERROR] at com.android.dx.command.dexer.Main.main(Main.java:245)\r\n[ERROR] at com.android.dx.command.Main.main(Main.java:106)\r\n[ERROR] 1 error; aborting\r\n \r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - UNEXPECTED TOP-LEVEL EXCEPTION: No such file or directory because relative path includes absolute prefix when jar or aar includes additional jar or aar in libs folder", "creator": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "environment": "Node.js\r\n Node.js Version = 4.2.2\r\n npm Version = 3.7.5\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.9\r\n node-appc Version = 0.2.31\r\n\r\nJava Development Kit\r\n Version = 1.7.0_80\r\n\r\nAndroid NDK\r\n NDK Version = r9d (64-bit)\r\n\r\nAndroid api 23 and 24\r\n\r\nAlloy 1.9.1", "comment": { "comments": [ { "id": "396183", "author": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "body": "Workaround is to unarchive the aar. Move any archives in libs to /app/platform/android/ and recreate the .aar using jar without the libs included.", "updateAuthor": { "name": "jerodfritz", "key": "jerodfritz", "displayName": "Jerod Fritz", "active": true, "timeZone": "America/New_York" }, "created": "2016-09-15T03:15:36.000+0000", "updated": "2016-09-15T03:15:36.000+0000" }, { "id": "450625", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-20T17:04:26.000+0000", "updated": "2019-08-20T17:04:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }