{ "id": "105098", "key": "TIMOB-11791", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-08-06T23:56:23.000+0000", "created": "2012-11-15T22:23:56.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "androidbuild", "cb-verified" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-21T21:58:58.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": "10207", "name": "Tooling" } ], "description": "The app builds for iOS correctly, but cannot get it to build for Android. The following messages are seen in console when tried to build for Android:\r\n{code}\r\n[INFO] logfile = /Users/norton/Development/BUCA/src/client/Titanium_Studio_Workspace/Back-Up Care/build.log\r\n[INFO] Building Back-Up Care for Android ... one moment\r\n[INFO] Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777)\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/android/builder.py\", line 2237, in \r\n[ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host)\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/android/builder.py\", line 1896, in build_and_run\r\n[ERROR] shutil.copy(self.project_tiappxml, self.assets_dir)\r\n[ERROR] File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\", line 116, in copy\r\n[ERROR] File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\", line 82, in copyfile\r\n[ERROR] IOError: [Errno 13] Permission denied: '/Users/norton/Development/BUCA/src/client/Titanium_Studio_Workspace/Back-Up Care/build/android/bin/assets/tiapp.xml'\r\n{code}\r\n\r\nIt worked fine for a while building for Android 2.2.0. After that when tried to buil for 4.0.3 and 4.1.0 and started to get the error above. When tried to go back to 2.2.0, that stopped working as well.The files are imported from TFS.", "attachment": [], "flagged": false, "summary": "Android: building a project causes IOError 13 when resource files are read-only (MAC)", "creator": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aakkinepally", "key": "aakkinepally", "displayName": "Amuktha Akkinepally", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.8.2\r\nTi SD 2.1.3GA, 2.1.4GA\r\nTitanium Studio, build: 2.1.2.201208301612", "comment": { "comments": [ { "id": "265251", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Unable to reproduce using Titanium SDK 3.1.1.GA. I made the entire resources folder read only and it worked just fine. The only thing I could possibly see is if the build dir was read only. I can add check for that in the Android tooling rewrite, but in general, the build dir should not be versioned.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-06T23:56:23.000+0000", "updated": "2013-08-06T23:56:23.000+0000" }, { "id": "275607", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Apparently the issue was the tiapp.xml was read only. Still unable to reproduce with the new Android build.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-18T10:06:49.000+0000", "updated": "2013-10-18T10:06:49.000+0000" }, { "id": "414512", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T21:58:58.000+0000", "updated": "2017-03-21T21:58:58.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }