{ "id": "173986", "key": "TIMOB-27314", "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": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-08-09T10:25:07.000+0000", "created": "2019-08-07T12:15:30.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2019-08-09T10:25: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" } ], "description": "When trying to build an application to an android device on Windows the following error can be seen:\r\n\r\n{code:java}\r\n[ERROR] : Failed to compile Java source files:\r\n[ERROR] : \r\n[ERROR] : C:\\Users\\APPC\\Documents\\Appcelerator_Studio_Workspace\\smoke2\\build\\android\\gen\\com\\appc\\sm\\AssetCryptImpl.java:35: error: cannot find symbol\r\n[ERROR] : \tprivate static CharBuffer initAssetsBytes() {\r\n[ERROR] : \t ^\r\n[ERROR] : symbol: class CharBuffer\r\n[ERROR] : location: class AssetCryptImpl\r\n[ERROR] : C:\\Users\\APPC\\Documents\\Appcelerator_Studio_Workspace\\smoke2\\build\\android\\gen\\com\\appc\\sm\\AssetCryptImpl.java:34: error: cannot find symbol\r\n[ERROR] : \t\tprivate static final byte[] assetsBytes = Charset.forName(\"ISO-8859-1\").encode(initAssetsBytes()).array();\r\n[ERROR] : \t\t ^\r\n[ERROR] : symbol: variable Charset\r\n[ERROR] : location: class AssetCryptImpl\r\n[ERROR] : C:\\Users\\APPC\\Documents\\Appcelerator_Studio_Workspace\\smoke2\\build\\android\\gen\\com\\appc\\sm\\AssetCryptImpl.java:36: error: cannot find symbol\r\n[ERROR] : \t\tCharBuffer buffer = CharBuffer.allocate(1941682);\r\n[ERROR] : \t\t^\r\n[ERROR] : symbol: class CharBuffer\r\n[ERROR] : location: class AssetCryptImpl\r\n[ERROR] : C:\\Users\\APPC\\Documents\\Appcelerator_Studio_Workspace\\smoke2\\build\\android\\gen\\com\\appc\\sm\\AssetCryptImpl.java:36: error: cannot find symbol\r\n[ERROR] : \t\tCharBuffer buffer = CharBuffer.allocate(1941682);\r\n[ERROR] : \t\t ^\r\n[ERROR] : symbol: variable CharBuffer\r\n[ERROR] : location: class AssetCryptImpl\r\n[ERROR] : Note: Some input files use unchecked or unsafe operations.\r\n[ERROR] : Note: Recompile with -Xlint:unchecked for details.\r\n[ERROR] : 4 errors\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\n*Test Steps* \r\n# Create an application using SDK version {{8.1.0.v20190806151528}}\r\n# Run the app to a device \r\n\r\n*Actual result*\r\nAbove error is seen \r\n\r\n*Expected result*\r\nApplication should build successfully ", "attachment": [], "flagged": false, "summary": "Android: Unable to build to device on Windows ", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.18362\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 32.0GB\r\n\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\n\r\nAppcelerator CLI\r\n Core Package = 7.1.0-master.24\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\n node-appc Version = 0.2.49\r\nSDK version: 8.1.0.v20190806151528", "comment": { "comments": [ { "id": "450310", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "titanium_prep: https://github.com/appcelerator/titanium_prep/pull/34", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-08-07T14:12:16.000+0000", "updated": "2019-08-07T14:12:16.000+0000" }, { "id": "450313", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/11121\r\n8_1_X: https://github.com/appcelerator/titanium_mobile/pull/11122", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-08-07T15:00:30.000+0000", "updated": "2019-08-07T15:00:30.000+0000" }, { "id": "450323", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Waiting for 8_3_X PR.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-07T21:59:45.000+0000", "updated": "2019-08-07T21:59:45.000+0000" }, { "id": "450340", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "8_3_X PR: https://github.com/appcelerator/titanium_mobile/pull/11127", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-08-08T09:46:21.000+0000", "updated": "2019-08-08T09:46:21.000+0000" }, { "id": "450342", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fix verified in SDK version {{8.1.0.v20190807134709}} and {{8.2.0.v20190808013720}}\r\n\r\nTest and other information can be found at:\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/11121\r\n8_1_X: https://github.com/appcelerator/titanium_mobile/pull/11122", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-08T10:42:20.000+0000", "updated": "2019-08-08T10:45:16.000+0000" }, { "id": "450343", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed and waiting on Jenkins build for 8_3_X ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-08T10:43:20.000+0000", "updated": "2019-08-08T10:43:20.000+0000" }, { "id": "450367", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix now verified in SDK version: {{8.3.0.v20190808035522}}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-09T10:25:02.000+0000", "updated": "2019-08-09T10:25:02.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }