{ "id": "171605", "key": "TIMOB-26008", "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": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-05-07T08:08:44.000+0000", "created": "2018-05-03T08:16:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "build-error" ], "versions": [ { "id": "20102", "name": "Release 7.1.1", "archived": false, "released": true, "releaseDate": "2018-05-02" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2018-08-06T17:34:49.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" } ], "description": "The new update 7.1.1 does not work on Android. At the creation of the SDK, stops and i get the following message:\r\n\r\n\r\n{code:java}\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n\r\n[ERROR] : Failed to run dexer:\r\n\r\n[ERROR] : \r\n\r\n[ERROR] : Exception in thread \"main\" java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file\r\n\r\n[ERROR] : \tat org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.Install.createDist(Install.java:47)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)\r\n\r\n[ERROR] : Caused by: java.util.zip.ZipException: error in opening zip file\r\n\r\n[ERROR] : \tat java.util.zip.ZipFile.open(Native Method)\r\n\r\n[ERROR] : \tat java.util.zip.ZipFile.(ZipFile.java:219)\r\n\r\n[ERROR] : \tat java.util.zip.ZipFile.(ZipFile.java:149)\r\n\r\n[ERROR] : \tat java.util.zip.ZipFile.(ZipFile.java:163)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.Install.unzip(Install.java:160)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.Install.access$400(Install.java:29)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.Install$1.call(Install.java:70)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.Install$1.call(Install.java:47)\r\n\r\n[ERROR] : \tat org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)\r\n\r\n[ERROR] : \t... 3 more\r\npublic String getFoo()\r\n{\r\n return foo;\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "The new update 7.1.1 does not work on Android (Gradle bug)", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 7.1.1.GA", "closedSprints": [ { "id": 1034, "state": "closed", "name": "2018 Sprint 10 SDK", "startDate": "2018-05-07T00:03:21.636Z", "endDate": "2018-05-21T00:03:00.000Z", "completeDate": "2018-05-20T20:54:58.928Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "437326", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there! Is the error happening when *building the SDK* or when *using the SDK*? E.g. when compiling the SDK or compiling the app? Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-03T08:18:58.000+0000", "updated": "2018-05-03T08:18:58.000+0000" }, { "id": "437327", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "When building the SDK", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-03T08:22:18.000+0000", "updated": "2018-05-03T08:22:18.000+0000" }, { "id": "437328", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "[~andreas.pingas] I was able to run a classic project and an Alloy one with 7.1.1.GA and SDK built from the sources from the latest 7_1_X commit without encountering that.\r\n\r\nJudging from the log you provided it may be due to a malformed archive while downloading. Would you be able to try if cleanly pulling the sources/downloading again the GA version will solve this. \r\n\r\nIf that has no result any information you can share about your environment will be helpful in tracking the problem. You can share the result from {{appc info}} for instance.", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2018-05-03T09:21:28.000+0000", "updated": "2018-05-03T09:22:25.000+0000" }, { "id": "437359", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have delete and re-installed the whole 'Titanium' (folder)\r\n\r\nThe bug persist as it has been deacribed before.\r\n\r\nI run in classic project the example that is created automatically when you create a new project.\r\n\r\nEnvironment:\r\nAppcelerator CLI 7.0.3, Titanium SDK 7.1.1, Appcelerator Studio 5.0.0\r\nIm using macOS.", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-04T07:19:26.000+0000", "updated": "2018-05-04T07:19:26.000+0000" }, { "id": "437360", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Which Java version do you use (e.g. 1.8.0, check with {{java -version}})? I feel this is a Studio issue. Can you run your project with {{appc run -p android}} from the Terminal to see if there is a difference? Also the full log would help.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-05-04T07:57:35.000+0000", "updated": "2018-05-04T07:57:35.000+0000" }, { "id": "437367", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Looking at the stack looks to be a gradle issue, and is usually fixed by nuking the gradle downloads [1|https://stackoverflow.com/questions/41893328/error-running-cordova-android-platform] [2|https://stackoverflow.com/questions/32535930/cordova-build-gradle-error-while-opening-extracting-zip-file]. Find the .gradle folder in your home dir, and then remove the wrappers folder and try rebuilding", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-05-04T09:08:28.000+0000", "updated": "2018-05-04T09:08:42.000+0000" }, { "id": "437424", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It seems that is now working properly. I have ad well deleted and re-installed Java Development Kit, Node.js , as well as the others tou state above.", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-05-07T08:07:47.000+0000", "updated": "2018-05-07T08:07:47.000+0000" }, { "id": "439850", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closed as completed. If this is in error, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:34:49.000+0000", "updated": "2018-08-06T17:34:49.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }