{ "id": "121536", "key": "TIMOB-15766", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-08T17:53:59.000+0000", "created": "2013-10-23T05:49:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_module", "qe-manualtest", "triage" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "33351", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "115943", "key": "TIMOB-14242", "fields": { "summary": "Android: x86 libs not included in production 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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33352", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "104225", "key": "TIMOB-15305", "fields": { "summary": "Android: Add x86 support to Distribution Build", "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": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "34476", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "125128", "key": "MOD-1654", "fields": { "summary": "Modules built with 1.8.0.1 do not support x86 devices", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34473", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "125125", "key": "MOD-1653", "fields": { "summary": "InAppBilling: will not run on x86 devices", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-07T21:40:06.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": "Titanium-built apps that include modules are crashing on startup on a Samsung Galaxy Tablet 3.\r\n\r\n{code}\r\nADB indicates that there is an UnsatisfiedLinkError whenever an app tries to load a module\r\neg.\r\n10-10 04:42:33.282: W/dalvikvm(19548): threadid=11: thread exiting with uncaught exception (group=0x41a96e10)\r\n10-10 04:42:33.282: E/TiApplication(19548): (KrollRuntimeThread) [319,707] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null; Titanium 3.1.3,2013/09/18 12:01,222f4d1\r\n10-10 04:42:33.282: E/TiApplication(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null\r\n10-10 04:42:33.282: E/TiApplication(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365)\r\n10-10 04:42:33.282: E/TiApplication(19548): at java.lang.System.loadLibrary(System.java:535)\r\n10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114)\r\n10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81)\r\n10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175)\r\n10-10 04:42:33.282: E/TiApplication(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): FATAL EXCEPTION: KrollRuntimeThread\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): java.lang.UnsatisfiedLinkError: Couldn't load ti.inappbilling from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.stocklight.stocklightapp-1.apk,libraryPath=/data/app-lib/com.stocklight.stocklightapp-1]: findLibrary returned null\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.Runtime.loadLibrary(Runtime.java:365)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at java.lang.System.loadLibrary(System.java:535)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:114)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:81)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:175)\r\n10-10 04:42:33.282: E/AndroidRuntime(19548): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n{code}\r\n\r\nThis is relevant to apps built using 3.0.2.GA and 3.1.3.GA\r\neg. 'TeamApp', 'StockLight', 'What should I wear.com.au'\r\n\r\nSome older apps that were been built on older versions of titanium seem to still work\r\neg. 'DiviMe' in the Google Play store\r\n", "attachment": [ { "id": "44102", "filename": "log.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-21T23:50:50.000+0000", "size": 21453, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Samsung Galaxy 3 tablets won't load apps that contains modules", "creator": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Samsung Galaxy Tablet 3, 10.1 inch, model number: GT-P5210, Android Version: 4.22, Kernel version: 3.4.32-920575", "comment": { "comments": [ { "id": "277616", "author": { "name": "reilly", "key": "reilly", "displayName": "Reilly", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi, Im also seeing this issue.\r\n\r\nI have done some testing and discovered that the issue only occurs when the app is built for \"dist-playstore\".\r\n\r\nThat is to say, my app works fine when built with \"target device\" but not \"target dist-playstore\".\r\n\r\nJust to be sure it wasn't a signing issue, I also took the unsigned APK from \"target device\" and (jar)signed it with our distribution certificate (ie for Google Play). This works fine.\r\n\r\nAny support on this issue would be very welcome.\r\n\r\nRegards\r\nReilly", "updateAuthor": { "name": "reilly", "key": "reilly", "displayName": "Reilly", "active": true, "timeZone": "Australia/Sydney" }, "created": "2013-11-01T04:14:40.000+0000", "updated": "2013-11-01T04:15:13.000+0000" }, { "id": "279939", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Shak, could we please get a response from Appcelerator on this? We are getting feedback from users of the Galaxy tab 3 who are experiencing the same issue.", "updateAuthor": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-18T00:10:13.000+0000", "updated": "2013-11-18T00:10:13.000+0000" }, { "id": "280055", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The same error has now been recorded and submitted as google play bug reports on a number of devices:\n\nNov 16, 2013 - DROID RAZR i (smi)\n\nNov 15, 2013 - Galaxy Tab3 10.1 (santos10wifi)\n\nNov 15, 2013 - ASUS MeMo Pad ME302C (ME302C)\n\nOct 28, 2013 - Galaxy Tab3 10.1 (santos10wifi)\n\n\n\n", "updateAuthor": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-18T22:13:18.000+0000", "updated": "2013-11-18T22:13:18.000+0000" }, { "id": "280119", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Jason,\n\nThanks for reporting this. While look into the log files, it would be nice to have a test case from you that demonstrates the crash. Please let me know if you can send us such test case.\n\nRegards,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T02:58:21.000+0000", "updated": "2013-11-19T02:58:21.000+0000" }, { "id": "280120", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Shak. \n\nAny titanium app that uses a module (any module) which is built and distributed using 3.1.3.GA won't open on these devices ie. it will crash on startup.\n\nie.\ntiapp.xml:\n \n ti.inappbilling\n analytics.google\n\napp.js:\n Ti.API.debug(\"Hello World\");\n", "updateAuthor": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T03:10:55.000+0000", "updated": "2013-11-19T03:10:55.000+0000" }, { "id": "280121", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Jason,\n\nHave you tried any other device than tablet? We tested your sample (and default samples) on Adroid 4.2 & 4.4 devices. We did not notice any crash with them.\n\nThanks,", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T04:14:59.000+0000", "updated": "2013-11-19T04:14:59.000+0000" }, { "id": "280123", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The same titanium code runs fine on other Android devices, we have tested it on at least half a dozen different phones and tablets internally and have clients using it on thousands of other Android devices through the play store. \r\n\r\nIt seems this is an architectural showstopper for titanium with certain types of hardware, specifically the Samsung Galaxy Tablet 3.\r\n\r\nYou can test this bug very easily by trying to run a titanium app that has modules on any Samsung Galaxy Tablet 3.\r\n\r\nThe crash logs above seem to indicate that this might also be an issue for the following types of devices:\r\nDROID RAZR i (smi)\r\nASUS MeMo Pad ME302C (ME302C)\r\n\r\nhowever we haven't got access to those models to test with.", "updateAuthor": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T04:25:08.000+0000", "updated": "2013-11-19T04:25:39.000+0000" }, { "id": "280242", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Jason,\r\n\r\nWe tested apps with modules on a Galaxy S2 Tablet and a DROID RAZR. Both devices were able to install and run the apps normally. We will test with the S3 tablet later this week and keep you posted with our test results.\r\n\r\nThese tests were with Ti SDK 3.1.3.GA, Android SDK 4.4.\r\n\r\nRegards", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-19T21:51:03.000+0000", "updated": "2013-11-22T00:34:23.000+0000" }, { "id": "280690", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Jason,\n\nAn update to my previous comment:\nWe were able to get a Galaxy Tablet 3 in house and test multiple apps with modules. We were able to reproduce your issue. Not every app with a module crashed at launch, but when we saw the crash it had the same exception that you did.\n\nWe do not need a sample project and are currently working on a fix for this. We will keep you up do date on any developments and will get the fix live as soon as possible. Thank you for your patience while we work through this issue.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-22T01:27:22.000+0000", "updated": "2013-11-22T01:27:22.000+0000" }, { "id": "280691", "author": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Eric, much appreciated!", "updateAuthor": { "name": "cornflakesuperstar", "key": "cornflakesuperstar", "displayName": "Jason Kotchoff", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-22T01:29:00.000+0000", "updated": "2013-11-22T01:29:00.000+0000" }, { "id": "280803", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "After some research, here are my findings:\n\nIn Ti SDK 3.1.3.X we use the older python scripts to package the app. These scrips do not copy the titanium *.so required libraries to the /lib/x86 folder in the apk.\n\nIn Ti SDK 3.2.X we use the new node.js Ti CLI to package the app. These scripts DO copy those required files over and the app runs fine.\n\nConclusion, this fails in 3.1.X due to lack of x86 support but works as expected in 3.2.X.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-22T22:00:12.000+0000", "updated": "2013-11-22T22:00:12.000+0000" }, { "id": "280845", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed in 3.2.0", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-23T00:31:11.000+0000", "updated": "2013-11-23T00:31:11.000+0000" }, { "id": "281310", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "+Verified fixed on:+\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311221859\nTitanium SDK, build: 3.2.0.v20131125114848\nCLI: 3.2.0-alpha3\nAlloy: 1.3.0-alpha6\nAndroid Device: Samsung Galaxy 3 Tablet (4.2.2)\n\nCreate a default Titanium Classic project and installed 8 different modules at the same time.\n6 modules were Android compatible and 2 weren't (Just in case it could throw an error).\nApplication ran fine with all the modules installed and ran fine without modules installed.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T00:39:55.000+0000", "updated": "2013-11-26T00:39:55.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }