{ "id": "172469", "key": "TIMOB-26615", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-05-02T23:40:28.000+0000", "created": "2018-10-19T09:43:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "engSchedule", "module" ], "versions": [ { "id": "20183", "description": "", "name": "Release 7.4.0", "archived": false, "released": true, "releaseDate": "2018-09-17" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-02T23:40:28.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": "Create a new android module:\r\n\r\n{code:java}\r\nappc new -p android -t timodule\r\n{code}\r\n\r\nthen create and add a .js file in /assets folder, even empty, and build the module using\r\n\r\n{code:java}\r\nappc run -p android --build-only\r\n{code}\r\n\r\nThe build fails with this error message:\r\n\r\n{code:java}\r\n[ERROR] Failed to compile Java source files:\r\n[ERROR] \r\n[ERROR] warning: [options] bootstrap class path not set in conjunction with -source 1.7\r\n[ERROR] Note: [KrollBindingGen] Running Kroll binding generator.\r\n[ERROR] Note: [KrollBindingGen] No binding data found, creating new data file: org.appcelerator.titanium.gen/bindings.json\r\n[ERROR] Note: [KrollBindingGen] Found binding for proxy Example\r\n[ERROR] Note: [KrollBindingGen] Found binding for module NewAndroidModule\r\n[ERROR] Note: [KrollBindingGen] Generating JSON: file:/Users/Astrovic/Dati/Applicazioni/NewAndroidModule/android/build/classes/org/appcelerator/titanium/gen/bindings.json\r\n[ERROR] /Users/Astrovic/Dati/Applicazioni/NewAndroidModule/android/build/generated/java/com/astrovicApps/NewAndroidModule/AssetCryptImpl.java:15: error: AssetCryptImpl is not abstract and does not override abstract method getAssetPaths() in AssetCrypt\r\n[ERROR] public class AssetCryptImpl implements KrollAssetHelper.AssetCrypt\r\n[ERROR] ^\r\n[ERROR] Note: /Users/Astrovic/Dati/Applicazioni/NewAndroidModule/android/build/generated/java/com/astrovicApps/NewAndroidModule/AssetCryptImpl.java uses unchecked or unsafe operations.\r\n[ERROR] Note: Recompile with -Xlint:unchecked for details.\r\n[ERROR] 1 error\r\n{code}", "attachment": [], "flagged": false, "summary": "Android Module: fails to build adding .js file in assets folder", "creator": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "astrovicapps", "key": "astrovicapps", "displayName": "Vittorio Sorbera", "active": true, "timeZone": "Europe/Berlin" }, "environment": "*Node.js*\r\nNode.js Version = 8.9.4\r\nnpm Version = 5.6.0\r\n*Appcelerator CLI*\r\nInstaller = 4.2.13\r\nCore Package = 7.0.6\r\n*Titanium CLI*\r\nCLI Version = 5.1.1\r\nnode-appc Version = 0.2.44\r\n*Titanium SDKs*\r\n7.4.0.GA\r\n*Java Development Kit*\r\nVersion = 1.8.0_131\r\n*Android NDK*\r\n NDK Version = 16.1.4479499\r\n*Android Platforms*\r\nandroid-25\r\nandroid-26\r\nandroid-27", "comment": { "comments": [ { "id": "442800", "author": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "body": "Not sure if that's enough:\r\nhttps://github.com/appcelerator/titanium_mobile/compare/7_4_X...drauggres:AC-5983_7_4_X?expand=1", "updateAuthor": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2018-10-19T15:16:24.000+0000", "updated": "2018-10-19T15:41:57.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }