{ "id": "123900", "key": "TIMOB-16015", "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": "15719", "description": "2013 Sprint 26", "name": "2013 Sprint 26", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "15721", "description": "2013 Sprint 26 Core", "name": "2013 Sprint 26 Core", "archived": true, "released": true, "releaseDate": "2014-01-03" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-18T00:11:38.000+0000", "created": "2013-12-17T21:57:37.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "cli", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33899", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "123965", "key": "AC-2232", "fields": { "summary": "Android: No resource found that matches '@drawable/appicon'", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-01-23T10:39:07.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "There is a bug where if the app icon is not named \"appicon.png\", the build fails with the following error:\r\n\r\n{code}\r\n[INFO] Packaging application: /opt/android-sdk/build-tools/19.0.0/aapt \"package\" \"-f\" \"-m\" \"-J\" \"/Users/chris/appc/workspace/testapp2/build/android/gen\" \"-M\" \"/Users/chris/appc/workspace/testapp2/build/android/AndroidManifest.xml\" \"-A\" \"/Users/chris/appc/workspace/testapp2/build/android/bin/assets\" \"-S\" \"/Users/chris/appc/workspace/testapp2/build/android/res\" \"-I\" \"/opt/android-sdk/platforms/android-14/android.jar\" \"-I\" \"/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/android/titanium.jar\" \"-F\" \"/Users/chris/appc/workspace/testapp2/build/android/bin/app.ap_\"\r\n[ERROR] Failed to package application:\r\n[ERROR] \r\n[ERROR] /Users/chris/appc/workspace/testapp2/build/android/AndroidManifest.xml:4: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/appicon').\r\n{code}\r\n\r\nNadav original found this bug and reported it here: http://www.appcelerator.com/blog/2013/12/3-2-0-rc-of-sdkstudio-now-available/.\r\n\r\n{quote}\r\nNadav Hoze\t\r\nPosted December 14, 2013 @ 12:52 pm\r\n\r\nActually I downloaded the new version of Studio and now it works fine.\r\nBut now my project fails to build.\r\nIt says Error: No resource found that matches the given name (at 'icon' with value '@drawable/appicon' event though I do not use appicon and my own icon in the tiapp.xml\r\nI changed the name to appicon and it works fine. but now the icons is titanium default.\r\n{quote}", "attachment": [], "flagged": false, "summary": "CLI: Android build fails if app icon is not named \"appicon.png\"", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": "Mac OS X 10.8.5\r\nTitanium CLI 3.2.0-cr3\r\nTitanium SDK 3.2.0 (master)", "comment": { "comments": [ { "id": "284873", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5136\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5137", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-17T22:00:13.000+0000", "updated": "2013-12-17T22:00:13.000+0000" }, { "id": "284893", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test steps:\n\n1. Create a new titanium project\n2. Rename Resources/android/appicon.png to Resources/android/myappicon.png\n3. Change the appicon.png in tiapp.xml to myappicon.png\n4. Build project\n\nExpected:\nThe project should build without any errors\n\nActual:\nThe project builds with the error mentioned in the original description\n", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T22:42:28.000+0000", "updated": "2013-12-17T22:42:28.000+0000" }, { "id": "284945", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the app does not error out & fail if the app icon is named anything other than \"appicon.png\". App builds successfully.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201312162210\r\nTi SDK : 3.2.0.v20131217161652\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0-cr2\t\r\nCLI - 3.2.0-cr3\r\nNexus 5 - android 4.4", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T02:17:29.000+0000", "updated": "2013-12-18T02:17:29.000+0000" }, { "id": "284987", "author": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix with :\nOSX: 10.8.5\nXcode: 5.0\nAppcelerator Studio:3.2.0.201312171913\nSDK:3.2.0.v20131217190633\nalloy: 1.3.0-cr2\nacs: 1.0.10\nnpm: 1.3.2\ntitanium: 3.2.0-cr3\ntitanium-code-processor: 1.1.0-cr2\nDevice: Nexus 7 (v4.3) \n\nApp builds and launches successfully.", "updateAuthor": { "name": "prastogi", "key": "prastogi", "displayName": "Pragya Rastogi", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-18T07:24:10.000+0000", "updated": "2013-12-18T07:24:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }