{ "id": "173549", "key": "AC-6230", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-07-24T15:52:30.000+0000", "created": "2019-04-27T05:32:01.000+0000", "labels": [ "android", "aol-sdk", "appcelerator", "hyperloop", "modules", "titanium" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-24T15:52:30.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" }, { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "15000", "name": "Hyperloop" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "i want to create a module using .aar file.\r\n\r\ni added aol sdk version 2.32 & .aar file into android/lib folder \r\ni edit the file exampleproxy,java with the following code \r\n\r\nExampleProxy.java\r\n\r\nimport android.app.Activity;\r\nimport android.widget.Toast;\r\nimport com.aol.mobile.sdk.player.OneSDK;\r\nimport com.aol.mobile.sdk.player.OneSDKBuilder;\r\nprivate class ExampleView extends TiUIView\r\n\t{\r\n\t\tpublic ExampleView(TiViewProxy proxy) {\r\n\t\t\tsuper(proxy);\r\n\t\t\t\r\n\t\t\tnew OneSDKBuilder(activity.getApplicationContext())\r\n .create(new OneSDKBuilder.Callback() {\r\n public void onSuccess(OneSDK oneSDK) {\r\n //useSDK(oneSDK, playerFragment);\r\n \tToast.makeText(activity.getApplicationContext(), \"Error Creating SDK\", Toast.LENGTH_SHORT).show();\r\n }\r\n\r\n public void onFailure(Exception e) {\r\n Toast.makeText(activity.getApplicationContext(), \"Error Creating SDK\", Toast.LENGTH_SHORT).show();\r\n }\r\n });\r\n\t\t}\r\n\r\n\t\t@Override\r\n\t\tpublic void processProperties(KrollDict d)\r\n\t\t{\r\n\t\t\tsuper.processProperties(d);\r\n\t\t}\r\n\t}\r\n\r\n\r\ni create a new project and added the module inside the project & called the function of module\r\nvar mod = require('');\r\nmod.createExample()\r\n\r\n\r\nerror :\r\n\r\n[ERROR] : Failed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: com.android.dx.cf.code.SimException: ERROR in com.aol.mobile.sdk.bl.a:(Ljava/lang/String;Ljava/lang/Object;Lcom/aol/mobile/sdk/bi;Lcom/aol/mobile/sdk/bo;Lcom/aol/mobile/sdk/bn;)V: invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13)\r\n[ERROR] : 1 error; aborting\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: how to integrate aol sdk in appcelerator", "creator": { "name": "mbhatt33", "key": "mbhatt33", "displayName": "mbhatt33", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "mbhatt33", "key": "mbhatt33", "displayName": "mbhatt33", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "On Mac OS", "comment": { "comments": [ { "id": "449094", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Did you followed the guide in here https://wiki.appcelerator.org/display/guides2/Android+Module+Project ? What's the status of your issue? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-06-14T19:04:46.000+0000", "updated": "2019-06-14T19:04:46.000+0000" }, { "id": "450024", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\nJust passing as update here. Are you able to get that sorted out?  Please let us know if you need more help with this issue.\r\n", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-07-24T06:15:00.000+0000", "updated": "2019-07-24T06:15:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }