{ "id": "167676", "key": "TIMOB-24703", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-19T14:40:58.000+0000", "created": "2017-05-18T00:54:16.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "54894", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "166391", "key": "TIMOB-24446", "fields": { "summary": "Android: Allow user to specify Android Support Library version", "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": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "54891", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "144567", "key": "TIMOB-18565", "fields": { "summary": "Android: Support android *.aar libraries while building module", "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": "Critical", "id": "1" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-05-19T14:41:31.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": "*Steps to reproduce the behavior*\r\n# Extract the test module {{com.appc.timob24703-android-1.0.0.zip}} and add it to a new Titanium app.\r\n# Replace the content of {{app/controllers/index.js}} with:\r\n{code}\r\nvar test = require('com.appc.timob24703');\r\n$.index.add(test.createExample());\r\n$.index.open();\r\n{code}\r\n# Build and run the app with {{appc run -p android -l trace}}\r\n\r\n*Actual behvavior*\r\nThe app crashes upon start with the following error:\r\n{code}\r\n[ERROR] TiApplication: (main) [169,170] Sending event: exception on thread: main msg:java.lang.NoClassDefFoundError: Failed resolution of: Lcom/appc/timob24703/R$layout;; Titanium 6.2.0,2017/05/17 16:12,undefined\r\n[ERROR] TiApplication: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/appc/timob24703/R$layout;\r\n{code}\r\n\r\n*Expected behavior*\r\nThe app starts without crashing and shows a simple \"Titanium\" label.", "attachment": [ { "id": "62249", "filename": "com.appc.timob24703-android-1.0.0.zip", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-18T13:56:08.000+0000", "size": 82973, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Missing R class for modules", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": "appc-cli 6.2.0\r\nTiSDK 6.1.0.v20170517143931", "closedSprints": [ { "id": 889, "state": "closed", "name": "2017 Sprint 10 SDK", "startDate": "2017-05-08T00:27:49.740Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:41:01.011Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "419940", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/9068\r\nPR (6_1_X): https://github.com/appcelerator/titanium_mobile/pull/9069", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-18T14:02:32.000+0000", "updated": "2017-05-18T14:02:32.000+0000" }, { "id": "420037", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "FR: Pass\r\nApp launches with no problems\r\n\r\nOPO 3 Android 7.1.1\r\nOSX 10.11.6\r\nAppc NPM: 4.2.9\r\nApp CLI: 6.2.2-master.15", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-19T14:41:24.000+0000", "updated": "2017-05-19T14:41:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }