{ "id": "150691", "key": "TIMOB-19408", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-09-14T22:27:47.000+0000", "created": "2015-08-25T22:01:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-09-14T23:27: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" } ], "description": "*Note : The errors shown may be shown by studio, if need be please move this ticket to the appropriate project.*\r\n\r\nh5.Description:\r\n1. Create a module using studio/appc CLI.\r\n2. Try to package the created module.\r\n\r\nh5.Actual Results:\r\n1. The project created has errors.\r\n2. When we try to package the module we get dialog \"Do you want to proceed as the project contains error\".\r\n2. Refer attached screenshot for reference.\r\n\r\nh5.Expected Results:\r\n1. The module should be created without errors.", "attachment": [ { "id": "56519", "filename": "Screen Shot 2015-08-25 at 2.37.04 PM.png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-25T22:02:01.000+0000", "size": 205242, "mimeType": "image/png" }, { "id": "56518", "filename": "Screen Shot 2015-08-25 at 2.57.19 PM.png", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-25T22:02:05.000+0000", "size": 69642, "mimeType": "image/png" }, { "id": "56697", "filename": "Screen Shot 2015-09-14 at 12.27.04 pm.png", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T04:30:26.000+0000", "size": 105453, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: An android module is created with errors related to annotations in the Java files in the project", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 5.0.0.201508251028\r\nTi SDK : 5.0.0.v20150825082243\r\nTi CLI : 4.1.5\r\nAlloy : 1.7.5\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.2.0-1\r\nAppc CLI : 5.0.0-14\r\nNode: v0.10.37\r\nNexus 5 - Android 5.1.1\r\nNode : v0.10.37", "closedSprints": [ { "id": 485, "state": "closed", "name": "2015 Sprint 19 SDK", "startDate": "2015-09-12T00:30:29.539Z", "endDate": "2015-09-26T00:30:00.000Z", "completeDate": "2015-09-28T02:29:14.458Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "361183", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~msamah], can you take a look?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-26T02:11:45.000+0000", "updated": "2015-08-26T02:11:45.000+0000" }, { "id": "361186", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~lchoudhary] What Java version are you using to compile this?\r\n\r\nI've got a feeling it has something to do with the version you are using as the screenshot shows \"only available if source level is 1.5 or greater\"", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-08-26T02:21:47.000+0000", "updated": "2015-08-26T02:21:47.000+0000" }, { "id": "362090", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah], I am using java 1.8.0_25.\r\nAlso, I have java JDK 1.7.X & 1.6 installed on my machine", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-02T20:36:44.000+0000", "updated": "2015-09-02T20:36:44.000+0000" }, { "id": "363743", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I'm unable to get the errors you are facing.\r\n\r\n[~lchoudhary] My default properties is set to Java SE 7. Could you try setting that as default and see if it works? [^Screen Shot 2015-09-14 at 12.27.04 pm.png]\r\n\r\nAlso, can you try going to the root of the project folder in Terminal then go the the path `/android` and run the command `ant clean` and then `ant`. If you are able to do this, then maybe perhaps it's a Studio issue. \r\n\r\nAlso, I have a `.bash_profile` that contains:-\r\n{code}\r\nexport ANDROID_SDK=~/Library/Android/sdk\r\nexport ANDROID_NDK=~/Library/Android/android-ndk-r10e\r\nexport PATH=$ANDROID_SDK/tools:$PATH\r\nexport PATH=$ANDROID_SDK/platform-tools:$PATH\r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-09-14T04:36:12.000+0000", "updated": "2015-09-14T04:36:12.000+0000" }, { "id": "363791", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Hieu can you work with [~lokeshchdhry] today on this?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T16:57:45.000+0000", "updated": "2015-09-14T16:57:45.000+0000" }, { "id": "363815", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah], \r\n1. I changed the default java version to Java 7 & java 6 from studio as suggested by you & created new android module -- I still see the issue.\r\n2. Went to project root ,inside /android, ran ant clean, ran ant -- module built successfully.\r\n*NOTE - The module can be packaged successfully even though there are these annotations errors when the module is created. Studio just throws a pop up if you want to proceed packaging as there are errors* \r\n3. My bash profile looks good.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T18:54:18.000+0000", "updated": "2015-09-14T18:54:18.000+0000" }, { "id": "363846", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "According to [~lokeshchdhry], this was user error. \"My studio java complier complience level was at 1.4 setting it to 1.7 fixed the issue.\"", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T22:27:43.000+0000", "updated": "2015-09-14T22:27:43.000+0000" }, { "id": "363855", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing this issue.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-14T23:27:58.000+0000", "updated": "2015-09-14T23:27:58.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }