{ "id": "77562", "key": "AC-2942", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-07-09T06:15:35.000+0000", "created": "2011-07-07T02:44:01.000+0000", "labels": [ "1.7.1", "appicon", "bug", "build", "clean", "studio" ], "versions": [], "issuelinks": [], "assignee": { "name": "tguntharp", "key": "tguntharp", "displayName": "Tony Guntharp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:47:56.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": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "In Android with ti sdk 1.7.1, if you clean out your build/android folder and then try to launch the simulator, it will give the following error: \r\n\r\n{code}\r\n[INFO] Compiling Javascript Resources ...\r\n[DEBUG] Processing Android resource drawables\r\n[DEBUG] Detecting modules in /Users/jtoth/Documents/Navtrak/modules\r\n[DEBUG] Detecting modules in /Library/Application Support/Titanium/modules\r\n[DEBUG] found special platform files dir = /Users/jtoth/Documents/Navtrak/platform/android\r\n[DEBUG] copying app icon: /Users/jtoth/Documents/Navtrak/build/android/bin/assets/Resources/appicon.png\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/1.7.1/android/builder.py\", line 1947, 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/1.7.1/android/builder.py\", line 1740, in build_and_run\r\n[ERROR] self.manifest_changed = self.generate_android_manifest(compiler)\r\n[ERROR] File \"/Library/Application Support/Titanium/mobilesdk/osx/1.7.1/android/builder.py\", line 811, in generate_android_manifest\r\n[ERROR] shutil.copy(iconpath, dest_icon)\r\n[ERROR] File \"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py\", line 88, in copy\r\n[ERROR] copyfile(src, dst)\r\n[ERROR] File \"/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py\", line 52, in copyfile\r\n[ERROR] fsrc = open(src, 'rb')\r\n[ERROR] IOError: [Errno 2] No such file or directory: u'/Users/jtoth/Documents/Navtrak/build/android/bin/assets/Resources/appicon.png'\r\n{code}\r\n\r\nWithin build/android/bin/assets you must manually create a Resources folder and then copy appicon.png over to it, otherwise the simulator will never work. The build process should create the Resources directory and copy over appicon.png automatically.\r\n\r\nOriginal post as an Q&A-question here: [http://developer.appcelerator.com/question/121512/]", "attachment": [], "flagged": false, "summary": "Titanium Studio: Compile error after clean build \"No such file or directory: appicon.png\"", "creator": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "shump", "key": "shump", "displayName": "Julian Lindblad", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS X 10.6, Titanium Studio build: 1.0.1.201106171427, Titanium SDK 1.7.1", "comment": { "comments": [ { "id": "159116", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "This ticket includes very little of the required information. See [Jira Ticket Checklist|http://wiki.appcelerator.org/display/guides/Contributing+to+Titanium#ContributingtoTitanium-Summary%3AJiraTicketChecklist] for more information. I am happy to reopen it when it has been corrected. Thanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-07-09T06:15:35.000+0000", "updated": "2011-07-09T06:15:35.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }