{ "id": "172506", "key": "MOD-2467", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2018-10-28T10:43:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "map" ], "versions": [ { "id": "20265", "name": "Release 7.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updated": "2018-11-22T00:41:51.000+0000", "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" } }, "components": [ { "id": "13700", "name": "Map" } ], "description": "When using Ti.Map on Android P, an error is thrown:\r\n{code}\r\n[ERROR] TiExceptionHandler: (main) [13088,13088]\r\n[ERROR] TiExceptionHandler: dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)\r\n[ERROR] TiExceptionHandler: java.lang.ClassLoader.loadClass(ClassLoader.java:379)\r\n[ERROR] TiExceptionHandler: dhd.loadClass(:com.google.android.gms@12862026@12.8.62 (040700-199405334):3)\r\n[ERROR] TiExceptionHandler: java.lang.ClassLoader.loadClass(ClassLoader.java:312)\r\n[ERROR] TiExceptionHandler: el.b(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):3)\r\n[ERROR] TiExceptionHandler: ek.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):4)\r\n[ERROR] TiExceptionHandler: em.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):51)\r\n[ERROR] TiExceptionHandler: com.google.maps.api.android.lib6.drd.ap.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):11)\r\n[ERROR] TiExceptionHandler: dw.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):16)\r\n[ERROR] TiExceptionHandler: dw.run(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):61)\r\n{code}\r\n\r\nFollowing the [Android bug tracker|https://issuetracker.google.com/issues/79478779], this is a known issue and the workaround is to add the following to the manifest:\r\n{code:xml}\r\n\r\n{code}\r\n\r\nI can confirm the fix works fine for Titanium as well.", "attachment": [], "flagged": false, "summary": "Ti.Map: Exception thrown when targeting Android P", "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": null, "comment": { "comments": [ { "id": "443014", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator-modules/ti.map/pull/249", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-28T10:53:36.000+0000", "updated": "2018-10-28T10:53:36.000+0000" }, { "id": "443015", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Update: It seems like this surfaced another issue in the SDK. The {{uses-library}} tag cannot be properly merged into the final AndroidManifest:\r\n{code:xml}\r\n\t[object Object]\r\n{code}\r\nFor now, the above fix needs to be applied manually to the project. Once the CLI is fixed, the Ti.Map PR can be reviewed.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-10-28T10:55:30.000+0000", "updated": "2018-10-28T10:55:30.000+0000" }, { "id": "443449", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel], regarding the CLI issue, I believe you're running into this: [MOD-2263]", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-09T00:00:27.000+0000", "updated": "2018-11-09T00:00:27.000+0000" }, { "id": "443521", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Merged the PR from [~hknoechel]. Waiting for MOD-2458, MOD-2457 and possibly [#254|https://github.com/appcelerator-modules/ti.map/pull/254] to draft a new Android release.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-13T15:20:15.000+0000", "updated": "2018-11-13T15:20:15.000+0000" }, { "id": "443823", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "BTW, the workaround goes into the portion of the manifest and is processed correctly for 7.5.0 in Studio.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-21T23:56:40.000+0000", "updated": "2018-11-21T23:56:40.000+0000" }, { "id": "443825", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-22T00:41:51.000+0000", "updated": "2018-11-22T00:41:51.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }