{ "id": "129956", "key": "TIMOB-16940", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-07T23:06:01.000+0000", "created": "2014-05-05T14:14:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "module_build", "qe-testadded" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-22T07:06:53.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": "I recently released an app using 3.2.2.GA on both iOS and Android. Installed 3.2.3.GA to work with a different app. Both apps now fail to build for Android, even on 3.2.2.GA, throwing an error during dexer: \"java.lang.IllegalArgumentException: already added: Lcom/google/ads/AdRequest$Gender;\"\r\nThe build log is attached. \r\nBoth apps use the Maps v2 module (and therefore Google Play Services) and also AdMob module, which appears to be the area of conflict. However the first app was successfully built and released under 3.2.2.GA. IOS builds are okay, only Android is failing.", "attachment": [ { "id": "47829", "filename": "ftb-build.txt", "author": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T14:14:52.000+0000", "size": 13786, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Application compiles to fail if it uses both Map and AdMob modules together", "creator": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OSX with Titanium Studio", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "303477", "author": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "body": "More on this: I used time machine to roll-back Titanium Studio prior to the 3.2.3.GA installation, and both apps are now building against 3.2.2.GA with no other changes. So it does appear that the presence of 3.2.3.GA prevents Android from building these apps, possibly due to the combination of Maps v2 and AdMob.", "updateAuthor": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T15:23:07.000+0000", "updated": "2014-05-05T15:23:07.000+0000" }, { "id": "303498", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can you please provide a simple runnable test case to reproduce the issue with the latest release? ", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T17:17:10.000+0000", "updated": "2014-05-05T17:17:10.000+0000" }, { "id": "303528", "author": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Ritu, I now have a workaround, which is to eliminate the 3.2.3.GA release and build against 3.2.2.GA. Building a 'simple' test case could be a huge project, which I can't do. The two main elements are use of Maps V2 (Google Play Services) and AdMob, so you could try to build a sample app with those. Most likely the issue is that the AdMob module needs to be updated. \r\nRegards, David", "updateAuthor": { "name": "dasher@computer.org", "key": "dasher@computer.org", "displayName": "David Asher", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-05T19:12:23.000+0000", "updated": "2014-05-05T19:12:23.000+0000" }, { "id": "303785", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "David - Would it be possible for you to eliminate AdMob module from your project and see if the issue disappears? It would help us narrow down and troubleshoot the issue further.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-07T05:55:15.000+0000", "updated": "2014-05-07T05:55:15.000+0000" }, { "id": "304155", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this issue to engineering as QE can reproduce this issue with another test case as mentioned in above comment.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-09T06:22:56.000+0000", "updated": "2014-05-09T06:22:56.000+0000" }, { "id": "307799", "author": { "name": "kkolman", "key": "kkolman", "displayName": "Karel Kolman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I experienced the same issue (unable to build when ti.map & ti.admob used with titanium 3.2.3), \r\n\r\nSetting the \"ti/map\" module version to 2.1.3 (instead of 2.1.4 being the default in titanium 3.2.3) i am able to build the app.\r\n\r\n{noformat}\r\n\r\n 3.2.3.GA\r\n .... \r\n \r\n ti.map\r\n ti.admob\r\n \r\n \r\n{noformat}", "updateAuthor": { "name": "kkolman", "key": "kkolman", "displayName": "Karel Kolman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-06T08:51:25.000+0000", "updated": "2014-06-06T08:51:25.000+0000" }, { "id": "307895", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem is that the AdMob module is build using an old version of GoogleAdModAdsSdk (v6.2.1). This library was recently moved into the google play services library. \r\nSee here: https://developers.google.com/mobile-ads-sdk/download#downloadplay \r\nThe google play services library was updated in v2.1.4 of the ti.map module so it now includes the google play services library that has these AdMob classes. The solution here is to update the AdMob module to use the latest google play services library.\r\n\r\nPR: https://github.com/appcelerator/titanium_modules/pull/165", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-06T21:21:49.000+0000", "updated": "2014-06-07T00:56:02.000+0000" }, { "id": "308091", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. \r\nWhen map & admob modules are used together we do not see any errors while running dexer.\r\nThe app builds successfully.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201406061445\r\nTi SDK : 3.3.0.v20140609115713 \r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-beta2\r\nCLI - 3.3.0-beta3\r\nCode Processor: 1.1.1\r\nAndroid Map Module: 2.1.4\r\nAdMob Module: 2.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-09T20:44:40.000+0000", "updated": "2014-06-09T20:44:40.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }