{ "id": "162678", "key": "MOD-2283", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "18287", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-22T07:04:58.000+0000", "created": "2016-08-18T09:54:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "assets", "facebook", "regression" ], "versions": [ { "id": "17157", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "52500", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159917", "key": "TIMOB-23299", "fields": { "summary": "Update pre-packaged Ti.Facebook to 5.2.0", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2018-08-06T17:49:10.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": "13700", "name": "Map" } ], "description": "I have tried to compile with Facebook 5.2.0 on Android, but it gives errors in resources: \r\n\r\n{code}\r\n[ERROR] : Failed to package application:\r\n[ERROR] :  \r\n[ERROR] :  /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable-hdpi-v4/com_facebook_button_like_icon_selected.png: error: Duplicate file.\r\n[ERROR] :  /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable-hdpi/com_facebook_button_like_icon_selected.png: Original is here. The version qualifier may be implied.\r\n{code}\r\n\r\nI tried to remove -v4 folders, but then it gives other many errors (seems like not related to duplicated icons):\r\n\r\n{code}\r\n[ERROR] : Failed to package application:\r\n[ERROR] : \r\n[ERROR] : warning: string 'com_facebook_device_auth_instructions' has no default translation.\r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:45: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/com_facebook_favicon_white').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:70: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:88: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/layout/com_facebook_device_auth_dialog_fragment.xml:117: error: Error: No resource found that matches the given name (at 'textColor' with value '@color/com_facebook_device_auth_text').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'bottomLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'bottomRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'topLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius_oversized').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_background.xml:24: error: Error: No resource found that matches the given name (at 'topRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius_oversized').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_header_background.xml:24: error: Error: No resource found that matches the given name (at 'topLeftRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_auth_dialog_header_background.xml:24: error: Error: No resource found that matches the given name (at 'topRightRadius' with value '@dimen/com_facebook_auth_dialog_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:26: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:27: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:33: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:40: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:41: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_border_color_focused').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:49: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_background.xml:55: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_icon.xml:23: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/com_facebook_button_icon_blue').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_icon.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/com_facebook_button_icon_white').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:25: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:32: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:33: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:45: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:46: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:51: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:52: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_selected').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_like_background.xml:57: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_login_silver_background.xml:25: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_login_silver_background.xml:31: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_login_silver_background.xml:37: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:26: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:27: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused_disabled').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:33: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:39: error: Error: No resource found that matches the given name (at 'radius' with value '@dimen/com_facebook_button_corner_radius').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:40: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_background_color_focused').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_button_send_background.xml:41: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_button_border_color_focused').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_send_button_icon.xml:23: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/com_facebook_button_send_icon_blue').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/drawable/com_facebook_send_button_icon.xml:24: error: Error: No resource found that matches the given name (at 'drawable' with value '@drawable/com_facebook_button_send_icon_white').\r\n[ERROR] : \r\n[ERROR] : /Users/annakozy/Appcelerator.Studio/front/build/android/res/color/com_facebook_send_button_text_color.xml:22: error: Error: No resource found that matches the given name (at 'color' with value '@color/com_facebook_messenger_blue').\r\n{code}", "attachment": [], "flagged": false, "summary": "Facebook module 5.2.0 does not compile", "creator": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "CLI version : 5.0.8\r\nSDK : 5.3.1", "closedSprints": [ { "id": 695, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2016-08-13T00:00:16.620Z", "endDate": "2016-08-27T00:00:00.000Z", "completeDate": "2016-08-29T03:18:08.942Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "393521", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~annakozy@direcciona.me] Can you confirm that it worked with previews versions of Ti.Facebook Android (like [4.0.5|https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-4.0.5])?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-18T16:11:59.000+0000", "updated": "2016-08-18T16:13:16.000+0000" }, { "id": "393522", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Oh, and please rename the folders to be without the {{v4}}, e.g. {{drawable-hdpi}} instead of {{drawable-v4-hdpi}}. That could actually be it.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-18T16:14:31.000+0000", "updated": "2016-08-18T16:14:31.000+0000" }, { "id": "393523", "author": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was using my own module derived from 5.0.0, but resources were intact. It worked and it still works. But it has no drawable-XXX-v4 folders, those have appeared in 5.2.0 version only\r\n\r\nI did 2 kinds of experiments: \r\n\r\n- removed drawable-XXX-v4 \r\n- copied everything from drawable-XXX-v4 to drawable-XXX (which is already there) skipping duplicates\r\n\r\nIn both cases it produced those second set of errors (maybe it was a slightly different set, I am not sure) \r\nSo even if some pictures were indeed missing, there were more problems to it, it seems, than just dumping content of the folders into one another", "updateAuthor": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-18T16:20:45.000+0000", "updated": "2016-08-18T16:24:35.000+0000" }, { "id": "393524", "author": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is no drawable-v4-hdpi, but drawable-hdpi-v4.\r\n\r\nI can't really RENAME them, because the drawable-hdpi already exists separately. ", "updateAuthor": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-18T16:21:23.000+0000", "updated": "2016-08-18T16:22:08.000+0000" }, { "id": "393648", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just noticed that the pre-packaged Android 5.2.0 differs from the one available [here|https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.2.0]. Does that one work? It does not include the v4 in it.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-19T19:15:12.000+0000", "updated": "2016-08-19T19:15:12.000+0000" }, { "id": "393748", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "It does seem that the packaged module is different from the release module.\r\nhttps://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.2.0 causes no compilation errors while the packaged module does.\r\n\r\nAs Hans mentioned, [~annakozy@direcciona.me] Could you try that release version and see if it solves your issue?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-08-22T04:35:02.000+0000", "updated": "2016-08-22T04:35:02.000+0000" }, { "id": "393750", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/8246\r\nBasically taking the 5.2.0 from the Release Page in github and replacing the one in Titanium Mobile SDK repo.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-08-22T06:27:03.000+0000", "updated": "2016-08-22T06:27:03.000+0000" }, { "id": "393755", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed for 5.5.0, you can already download it from the ti.facebook/releases Tab which holds the correct module.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-22T07:04:58.000+0000", "updated": "2016-08-22T07:04:58.000+0000" }, { "id": "393911", "author": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I checked with the release 5.2.0 for Android and yes, it compiles. ", "updateAuthor": { "name": "annakozy@direcciona.me", "key": "annakozy@direcciona.me", "displayName": "Ganna Kozynenko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-23T07:58:51.000+0000", "updated": "2016-08-23T07:58:51.000+0000" }, { "id": "440050", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:10.000+0000", "updated": "2018-08-06T17:49:10.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }