{ "id": "170090", "key": "TIMOB-25430", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-10-26T17:50:06.000+0000", "created": "2017-10-23T11:50:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" }, { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-26T17:50: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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "Reported by the community on Slack:\r\n{code}\r\nart: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/NestedScrollingChild2;\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView ti.modules.titanium.ui.TextFieldProxy.createView(android.app.Activity) (TextFieldProxy.java:73)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.handleGetView() (TiViewProxy.java:499)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView() (TiViewProxy.java:485)\r\n[INFO] : art: at void org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(org.appcelerator.titanium.view.TiUIView) (TiViewProxy.java:523)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.handleGetView() (TiViewProxy.java:507)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView() (TiViewProxy.java:485)\r\n[INFO] : art: at void org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(org.appcelerator.titanium.view.TiUIView) (TiViewProxy.java:523)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.handleGetView() (TiViewProxy.java:507)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView() (TiViewProxy.java:485)\r\n[INFO] : art: at void org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(org.appcelerator.titanium.view.TiUIView) (TiViewProxy.java:523)\r\n[INFO] : art: at org.appcelerator.titanium.view.TiUIView org.appcelerator.titanium.proxy.TiViewProxy.handleGetView() (TiViewProxy.java:507)\r\n[INFO] : art: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)\r\n{code}\r\n-Not 100 % sure if this is caused by the core or Hyperloop itself-, I requested some more infos from the reporter.\r\n\r\n*EDIT*: It seems like it works with SDK 6.2.0 but not with 6.2.2 and 6.3.0.", "attachment": [ { "id": "63464", "filename": "error.txt", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-23T13:07:48.000+0000", "size": 405198, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android - java.lang.NoClassDefFoundError in TextFieldProxy", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 6.2.2 / 6.3.0", "comment": { "comments": [ { "id": "429428", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "So some extra info on the issue (thanks Hans for creating it for me):\r\n\r\nNode (just updated today): v6.11.4\r\nSDK - 6.2.0 (works), 6.2.2 (error above) 6.3.x (error above)\r\nMacOS\r\n\r\nEverything works on 6.2.0, but anything newer and it breaks with the above message repeating many times.. This is on launch after building and deploying the app not during the build.", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2017-10-23T12:58:41.000+0000", "updated": "2017-10-23T12:58:41.000+0000" }, { "id": "429429", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is very likely related to the scroll-view fixed [~jquick] is already working on, as [~mark.henderson@snagr.co.uk] was able to confirm that the issue happens with a textfield inside a scrollview.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-23T13:08:35.000+0000", "updated": "2017-10-23T13:08:35.000+0000" }, { "id": "429458", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mark.henderson@snagr.co.uk],\r\n\r\nAre you using any 3rd party modules? If so, can you list them out please?\r\n\r\nI suspect what's happening is that a module your app is using includes an old version of a Google support library which is overwriting the one Titanium uses. As of Titanium 6.2.2, our TextField and TextArea features require Google Support library v26.0.0 which Titanium normally includes with the app. Normally, a module should not include a Google support library to avoid conflicts like this and I suspect one of them is. Thanks.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-23T21:18:27.000+0000", "updated": "2017-10-23T21:18:27.000+0000" }, { "id": "429478", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "Yes I am using the following modules for Android:\r\n \r\n{code:java}\r\n ti.paint\r\n ti.cloud\r\n ti.imagefactory\r\n ti.compression\r\n dk.napp.downloadmanager\r\n ti.cloudpush\r\n fh.imagefactory\r\n com.boxoutthinkers.reqstorageperm\r\n com.mirasense.scanditsdk\r\n hyperloop\r\n{code}\r\n\r\n \r\nI've also included my AndroidManifest.xml:\r\n\r\n\r\n{code:java}\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n{code}\r\n\r\nI've included the manifest in case there is an issue around the minSDK / targetSDK I'm using as I just had to move targetSDK from 23 > 25 to work with the latest Hyperloop release.", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2017-10-24T01:59:13.000+0000", "updated": "2017-10-24T02:00:17.000+0000" }, { "id": "429528", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mark.henderson@snagr.co.uk],\r\n\r\nI looked up those modules and none of them appear to include Google's support library.\r\n\r\nSince you're using hyperloop, are you adding any JAR or AAR files to your project? That is, do you have any JAR or AAR files under the \"./platform/android\" directory in your project?\r\n\r\nIf the answer is \"no\" to the above question, then we'll need to get a reproducible test project from you, because we're unable to reproduce this issue.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-24T21:48:51.000+0000", "updated": "2017-10-24T21:51:10.000+0000" }, { "id": "429545", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "Sorry I'm HK timezone, so takes a while to reply..\r\n\r\nYes I have AAR files from Intercom (https://github.com/intercom/intercom-android)\r\n\r\nSee screenshot here: https://imgur.com/a/oJdWC\r\n\r\nMaybe the support ones are optional and that's causing the conflict?\r\n\r\nThanks\r\n", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2017-10-25T06:54:44.000+0000", "updated": "2017-10-25T06:54:44.000+0000" }, { "id": "429546", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hui, that are many support-libraries. Since 6.2.2 (I think), we bundle the latest support-libraries with the SDK already, so external ones should not be required anymore. If the Intercom SDK requires them, they likely updated their SDK by now as well, so you might wanna try to remove the colliding ones.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-25T08:12:16.000+0000", "updated": "2017-10-25T08:12:16.000+0000" }, { "id": "429574", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mark.henderson@snagr.co.uk],\r\n\r\nPlease remove the following AAR files from your project:\r\n- appcompat-v7-25.0.1.aar\r\n- design-25.0.1.aar\r\n- recyclerview-v7-25.3.1.aar\r\n- support-compat-25.3.1.aar\r\n- support-core-ui-25.3.1.aar\r\n- support-core-utils-25.3.1.aar\r\n- support-fragment-25.3.1.aar\r\n- support-media-compat-25.3.1.aar\r\n- support-v4-25.3.1.aar\r\n- support-vector-drawable-25.3.1.aar\r\n\r\nThe above libraries are already included in Titanium and we'll do our best to keep-up with the newest versions of Google's support libraries. We're currently using v26.0.1 as can be seen here...\r\nhttps://github.com/appcelerator/titanium_mobile/tree/6_3_X/android/modules/appcompat/lib\r\nhttps://github.com/appcelerator/titanium_mobile/tree/6_3_X/android/modules/compat/lib\r\nhttps://github.com/appcelerator/titanium_mobile/tree/6_3_X/android/modules/design/lib\r\n\r\nI'm pretty sure removing the above mentioned AAR files will work. If you can let us know if it solved your problem, then that would be great. Thanks!", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-25T18:19:15.000+0000", "updated": "2017-10-25T18:19:15.000+0000" }, { "id": "429638", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "I can confirm that removing those files allows the app to run. Thanks!", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2017-10-26T02:22:13.000+0000", "updated": "2017-10-26T02:22:13.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }