{ "id": "164912", "key": "TIMOB-24201", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-03-21T12:59:11.000+0000", "created": "2016-12-07T17:30:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18246", "name": "Hyperloop 2.0.1", "archived": false, "released": true, "releaseDate": "2017-03-17" }, { "id": "18247", "name": "Hyperloop 2.0.0", "archived": false, "released": true, "releaseDate": "2016-10-18" } ], "issuelinks": [ { "id": "53817", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "164677", "key": "TIMOB-24176", "fields": { "summary": "Hyperloop: Android - JNI libs should be included in APK", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "53813", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "164909", "key": "TIMOB-24303", "fields": { "summary": "Hyperloop Android - Wrapper not generated for v4 class", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T21:29:42.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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "*Steps to reproduce* :\r\n1. Create a test project.\r\n2. Enable Hyperloop. \r\n3. Add [Third-party libraries|http://www.filedropper.com/video-android-100-beta4] on Platform > android \r\n4. Add the following code in index.js\r\n{code}\r\n(function constructor(args) {\r\n var VideoView = require('com.twilio.video.VideoView');\r\n\r\n var Activity = require('android.app.Activity');\r\n var activity = new Activity(Ti.Android.currentActivity);\r\n \r\n var primaryVideoView = new VideoView(activity); \r\n $.container.add(primaryVideoView);\r\n\r\n\r\n $.container.open();\r\n})(arguments[0] || {});\r\n{code}\r\n\r\n5. Build on android devices.\r\n\r\n*Error Log* :\r\n{code}\r\n[ERROR] : TiExceptionHandler: (main) [419,419] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [1,420] - In ti:/module.js:303,2\r\n[ERROR] : TiExceptionHandler: (main) [0,420] - Message: Uncaught Error: Requested module not found: com.twilio.video.VideoView\r\n[ERROR] : TiExceptionHandler: (main) [0,420] - Source: \tthrow new Error(\"Requested module not found: \" + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?\r\n[ERROR] : V8Exception: Exception occurred at ti:/module.js:303: Uncaught Error: Requested module not found: com.twilio.video.VideoView\r\n[ERROR] : SensorManager: uid = 10413\r\n{code}\r\n\r\n*Test Environment*\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 4.4.4\r\n npm Version = 2.15.1\r\nTitanium CLI\r\n CLI Version = 5.0.10\r\nTitanium SDK\r\n SDK Version = 6.0.0.GA\r\n hyperloop\r\n{code}", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - Can't find requested module from .aar file in android", "creator": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": null, "closedSprints": [ { "id": 770, "state": "closed", "name": "2016 Sprint 25 SDK", "startDate": "2016-12-03T01:53:07.491Z", "endDate": "2016-12-17T01:53:00.000Z", "completeDate": "2016-12-21T03:19:43.884Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "403156", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Thanks [~gmathews],\r\n\r\nTested this issues with attached module and following test code. But its not working its showing bellow error. \r\n\r\n*Test Environments*\r\n\r\nTi SDK 6.0.0.GA\r\nCLI 6.0.0\r\nHyperloop 2.1.0\r\nhyperloop plugins 2.0.0 \r\n\r\n\r\n*Test Code*\r\n{code}\r\n(function constructor(args) {\r\n\r\n var VideoView = require('com.twilio.video.VideoView');\r\n\r\n var Activity = require('android.app.Activity');\r\n\r\n var activity = new Activity(Ti.Android.currentActivity);\r\n var primaryVideoView = new VideoView(activity); \r\n\r\n $.container.add(primaryVideoView);\r\n\r\n $.container.open();\r\n\r\n})(arguments[0] || {});\r\n\r\n{code}\r\n\r\n*Errors*\r\n\r\n{code}\r\n[ERROR] : HyperloopProxy: (main) [435,435] Exception during instantiation of class 'com.twilio.video.VideoView'\r\n[ERROR] : HyperloopProxy: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/twilio/video/R$styleable;\r\n[ERROR] : HyperloopProxy: \tat com.twilio.video.VideoView.(VideoView.java:55)\r\n[ERROR] : HyperloopProxy: \tat com.twilio.video.VideoView.(VideoView.java:50)\r\n[ERROR] : HyperloopProxy: \tat java.lang.reflect.Constructor.newInstance(Native Method)\r\n[ERROR] : HyperloopProxy: \tat java.lang.reflect.Constructor.newInstance(Constructor.java:288)\r\n[ERROR] : HyperloopProxy: \tat hyperloop.ClassProxy.newInstance(ClassProxy.java:89)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:196)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:241)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:128)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:183)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:107)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:673)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:169)\r\n[ERROR] : HyperloopProxy: \tat org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:96)\r\n[ERROR] : HyperloopProxy: \tat android.app.Activity.performCreate(Activity.java:5990)\r\n[ERROR] : HyperloopProxy: \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)\r\n[ERROR] : HyperloopProxy: \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)\r\n[ERROR] : HyperloopProxy: \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)\r\n[ERROR] : HyperloopProxy: \tat android.app.ActivityThread.access$800(ActivityThread.java:151)\r\n[ERROR] : HyperloopProxy: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)\r\n[ERROR] : HyperloopProxy: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : HyperloopProxy: \tat android.os.Looper.loop(Looper.java:135)\r\n[ERROR] : HyperloopProxy: \tat android.app.ActivityThread.main(ActivityThread.java:5254)\r\n[ERROR] : HyperloopProxy: \tat java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : HyperloopProxy: \tat java.lang.reflect.Method.invoke(Method.java:372)\r\n[ERROR] : HyperloopProxy: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)\r\n[ERROR] : HyperloopProxy: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)\r\n[ERROR] : HyperloopProxy: Caused by: java.lang.ClassNotFoundException: Didn't find class \"com.twilio.video.R$styleable\" on path: DexPathList[[zip file \"/data/app/com.twilioandroid-1/base.apk\"],nativeLibraryDirectories=[/data/app/com.twilioandroid-1/lib/x86, /vendor/lib, /system/lib]]\r\n[ERROR] : HyperloopProxy: \tat dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)\r\n[ERROR] : HyperloopProxy: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:511)\r\n[ERROR] : HyperloopProxy: \tat java.lang.ClassLoader.loadClass(ClassLoader.java:469)\r\n[ERROR] : HyperloopProxy: \t... 27 more\r\n[ERROR] : HyperloopProxy: \tSuppressed: java.lang.ClassNotFoundException: com.twilio.video.R$styleable\r\n[ERROR] : HyperloopProxy: \t\tat java.lang.Class.classForName(Native Method)\r\n[ERROR] : HyperloopProxy: \t\tat java.lang.BootClassLoader.findClass(ClassLoader.java:781)\r\n[ERROR] : HyperloopProxy: \t\tat java.lang.BootClassLoader.loadClass(ClassLoader.java:841)\r\n[ERROR] : HyperloopProxy: \t\tat java.lang.ClassLoader.loadClass(ClassLoader.java:504)\r\n[ERROR] : HyperloopProxy: \t\t... 28 more\r\n[ERROR] : HyperloopProxy: \tCaused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available\r\n\r\n{code}\r\n\r\nCan you please review again?\r\n\r\nThanks Again \r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-12-12T09:17:42.000+0000", "updated": "2016-12-12T09:17:42.000+0000" }, { "id": "403201", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/hyperloop.next/pull/108\r\n2_0_X: https://github.com/appcelerator/hyperloop.next/pull/109", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-12T19:29:50.000+0000", "updated": "2016-12-12T19:29:50.000+0000" }, { "id": "403202", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-24176", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-12T19:30:25.000+0000", "updated": "2016-12-12T19:30:25.000+0000" }, { "id": "416261", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T21:29:42.000+0000", "updated": "2017-03-29T21:29:42.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }