{ "id": "154834", "key": "TIMOB-20377", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-01-23T21:01:50.000+0000", "created": "2016-02-10T05:00:25.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android" ], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [ { "id": "50871", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155295", "key": "MOD-2207", "fields": { "summary": "Android: Can't build project with ti.geofencing and ti.map", "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": "50553", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154541", "key": "TIMOB-20278", "fields": { "summary": "Android: java.lang.IllegalArgumentException when ti.map and ti.geofence modules were added", "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": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:47:19.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": "When I compile the app with the Ti.Map module included, tried version 2.4.3 and 2.4.7. I get a compilation error in the module. The submitted app to the playstore will also not work and cause the application to crash.\r\nThe error has been isolated to this module as removing this module and compiling works well. \r\n\r\nthe build error message is as follows\r\n\r\nhere is the error message that I get [INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java \"-Xmx1024M\" \"-XX:-UseGCOverheadLimit\" \"-Djava.ext.dirs=/Users/ramesh/Library/android-sdk-macosx/platform-tools\" \"-jar\" \"/Users/ramesh/Library/android-sdk-macosx/build-tools/23.0.1/lib/dx.jar\" \"--dex\" \"--output=/Users/ramesh/git/com.hotels.mobile/build/android/bin/classes.dex\" \"/Users/ramesh/git/com.hotels.mobile/build/android/bin/classes\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/lib/titanium-verify.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/facebook/4.0.5/facebook.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/facebook/4.0.5/lib/bolts-android-1.1.2.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/facebook/4.0.5/lib/facebooksdk.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/map.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-base.jar\" \"/Users/ramesh/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-map.jar\" \"/Library/Application Support/Titanium/modules/android/analytics.google/3.0.0/googleanalytics.jar\" \"/Library/Application Support/Titanium/modules/android/analytics.google/3.0.0/lib/google-play-services.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-v8.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-analytics.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/aps-analytics.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-android.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/jaxen-1.1.1.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/ti-commons-codec-1.3.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-common.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/titanium.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-app.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-ui.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/nineoldandroids-appc-2.4.0.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-filesystem.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-media.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-appcompat.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v4.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v7-appcompat.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-cardview.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cardview-v7-23.0.1.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-locale.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-network.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-xml.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-platform.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-gesture.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-geolocation.jar\" \"/Users/ramesh/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-database.jar\" \r\n[ERROR] : Failed to run dexer: \r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/LocationSource; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$4; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/StreetViewPanorama$OnStreetViewPanoramaChangeListener; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/StreetViewPanoramaFragment; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$InfoWindowAdapter; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/MapsInitializer; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/MapFragment; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$OnMyLocationButtonClickListener; \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/UiSettings; \r\n[ERROR] : \r\n[ERROR] : UNEXPECTED TOP-LEVEL EXCEPTION: \r\n[ERROR] : java.lang.RuntimeException: Translation has been interrupted \r\n[ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608) \r\n[ERROR] : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311) \r\n[ERROR] : at com.android.dx.command.dexer.Main.run(Main.java:277) \r\n[ERROR] : at com.android.dx.command.dexer.Main.main(Main.java:245) \r\n[ERROR] : at com.android.dx.command.Main.main(Main.java:106) \r\n[ERROR] : Caused by: java.lang.InterruptedException: Too many errors \r\n[ERROR] : at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600) \r\n[ERROR] : ... 4 more \r\n2016-02-06T01:58:49.384Z | TRACE | titanium exited with exit code 1 \r\n2016-02-06T01:58:49.389Z | ERROR | Error: ti run exited with error code 1 \r\nat ChildProcess. (/Users/ramesh/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:66) \r\nat ChildProcess.emit (events.js:110:17) \r\nat Process.ChildProcess._handle.onexit (child_process.js:1074:12) \r\n2016-02-06T01:58:49.392Z | TRACE | Sending exit signal to titanium process: 76982 \r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1", "attachment": [], "flagged": false, "summary": "Android: Inclusion of Ti.map causes a compile error for Nexus 5 device running Android 6.01", "creator": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "subtasks": [], "reporter": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "environment": "Android 6.01, Nexus 5, Compiling in Mac using studio 4.3", "comment": { "comments": [ { "id": "377526", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "Appcelerator team,\r\n\r\nIs there a fix for this issue now? Can you pls give us an ETA?\r\n\r\nThanks!", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-22T15:34:38.000+0000", "updated": "2016-02-22T15:34:38.000+0000" }, { "id": "377570", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-23T00:37:06.000+0000", "updated": "2016-02-23T00:37:06.000+0000" }, { "id": "377574", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "We tried the earlier version of 2.3.1 and it did not work, either. So, we are stuck now with nothing working.", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-23T02:15:00.000+0000", "updated": "2016-02-23T02:15:00.000+0000" }, { "id": "377581", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~tsriniv] What Titanium SDK are you using?", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-23T02:46:21.000+0000", "updated": "2016-02-23T02:46:21.000+0000" }, { "id": "377582", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "Ti sdk version 5.1.2", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-23T03:08:00.000+0000", "updated": "2016-02-23T03:08:00.000+0000" }, { "id": "377653", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "We are using Ti sdk version 5.1.2.\r\n\r\nCan you pls provide a fix soon?", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-23T17:19:58.000+0000", "updated": "2016-02-23T17:19:58.000+0000" }, { "id": "377654", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It looks like one of your other modules also uses google-play-services library. Could you tell us which one?", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-23T17:41:10.000+0000", "updated": "2016-02-23T17:41:10.000+0000" }, { "id": "377655", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "Ramesh and I work together. He will respond to your question very soon.", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-23T17:43:50.000+0000", "updated": "2016-02-23T17:43:50.000+0000" }, { "id": "377772", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-02-24T15:16:30.000+0000", "updated": "2016-02-24T15:52:16.000+0000" }, { "id": "377774", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "Ti SDK 5.1.2.GA with ti.map does not work for us, which is the reason for creating the Jira ticket.", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-24T15:48:30.000+0000", "updated": "2016-02-24T15:48:30.000+0000" }, { "id": "377832", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "5.1.2 and 2.3.1 work, unforturnately I can't go back to 5.1.2 and I need 5.2.0 due to another bug in Appecelerator. I will need this fixed .", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-25T01:53:40.000+0000", "updated": "2016-02-26T18:55:45.000+0000" }, { "id": "377949", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "I can confirm, the issue is with google-play-services, which is being added twice, once by our Fused Android Geolocation custom module (in my case) and then again with ti.map.. it's the reason these errors:\r\n[ERROR] : Failed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/LocationSource;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$4;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/StreetViewPanorama$OnStreetViewPanoramaChangeListener;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/StreetViewPanoramaFragment;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$InfoWindowAdapter;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/MapsInitializer;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/MapFragment;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/GoogleMap$OnMyLocationButtonClickListener;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/UiSettings;\r\n[ERROR] : ", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-02-26T02:39:03.000+0000", "updated": "2016-02-26T15:03:30.000+0000" }, { "id": "378029", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~rramesh1] How about using an older version of the ti.map module (2.3.1), but with 5.2.0 Ti SDK?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-27T00:59:40.000+0000", "updated": "2016-02-27T00:59:40.000+0000" }, { "id": "378030", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~tsriniv] Can you kindly inform us which other modules you are using other than ti.map? ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-27T01:01:32.000+0000", "updated": "2016-02-27T01:01:32.000+0000" }, { "id": "378056", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "it is still an issue problem with 5.2 and 2.3.1\r\nI use gps location in the app, Facebook, google-analytics,", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-02-27T22:22:59.000+0000", "updated": "2016-02-27T22:22:59.000+0000" }, { "id": "378223", "author": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "body": "currently what i did to avoid this issue is removing \"google-play-services.jar\" on any other module which i included to the project. \r\n\r\ni wish there will be better way as the conflict only happen since v 2.3.3 and above (or since ti.map including google-play-services-base.jar and google-play-services-map.jar)", "updateAuthor": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-01T03:56:12.000+0000", "updated": "2016-03-01T03:56:12.000+0000" }, { "id": "378230", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "Please provide me with detail instructions and how to accomplish this task. I will work with it until an official solution is provided.\r\n", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-03-01T04:46:50.000+0000", "updated": "2016-03-01T04:46:50.000+0000" }, { "id": "378231", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I believe [~dyan02] did it by going to the project folder:-\r\nmodules>android>ti.map>\"version number\">lib folder and removing the jars as he mentioned.\r\nHe also mentioned that he did that for all other modules as well.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-03-01T05:17:01.000+0000", "updated": "2016-03-01T05:17:22.000+0000" }, { "id": "378298", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "Has Google Play Services been embedded in Ti 5.2.0.GA for Android?", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-03-01T15:04:42.000+0000", "updated": "2016-03-01T15:04:42.000+0000" }, { "id": "378407", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~underlabs] If my memory serves me correctly, no. The Titanium SDK does not include the Google Play Services jars. The jars are instead in the modules that require them.\r\n\r\nIf there's a conflict in the compile error, it means that you have 2 modules with different Google Play jars. Hence the unofficial work around suggested by [~dyan02] by removing one of them.\r\n", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-03-02T02:40:48.000+0000", "updated": "2016-03-02T02:42:03.000+0000" }, { "id": "378413", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "In a mac where will I find the modules folder?", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-03-02T02:58:27.000+0000", "updated": "2016-03-02T02:58:27.000+0000" }, { "id": "378414", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "{quote}currently what i did to avoid this issue is removing \"google-play-services.jar\" on any other module which i included to the project.\r\ni wish there will be better way as the conflict only happen since v 2.3.3 and above (or since ti.map including google-play-services-base.jar and google-play-services-map.jar){quote}\r\n\r\nI believe from what [~dyan02] wrote, he did that for the other modules except for timap. He left timap as it is.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-03-02T03:00:17.000+0000", "updated": "2016-03-02T03:00:17.000+0000" }, { "id": "378438", "author": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rramesh1], [~msamah]\r\nYes, that's what i've done,\r\nStep:\r\n1. in Mac i go to /Users/User_name/Library/Application Support/Titanium/modules/android\r\n2. go to each module, for example i go to lib folder in analytic.google module (/Users/User_name/Library/Application Support/Titanium/modules/android/analytics.google/3.0.0/lib)\r\n3. then i remove google-play-services.jar inside lib folder\r\n4. redo second step on other module that contain google-play-services.jar\r\n\r\nbut this way just a tweak, hope there is solution coming in for Ti.Map", "updateAuthor": { "name": "dyan02", "key": "dyan02", "displayName": "ardy wongso", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-02T06:18:24.000+0000", "updated": "2016-03-02T06:18:24.000+0000" }, { "id": "378501", "author": { "name": "bwang@metroland", "key": "bwang@metroland", "displayName": "Bo Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Having the same issue. Can anyone confirm that google.analytics still works after removing google.play.services.jar? Thanks, we are struck at this. Could anyone provide a ETA for this ticket too plz?", "updateAuthor": { "name": "bwang@metroland", "key": "bwang@metroland", "displayName": "Bo Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-02T21:06:26.000+0000", "updated": "2016-03-02T21:06:26.000+0000" }, { "id": "378521", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "ok I looked in the above said folder and I did not find google-play-services.jar. I searched all the folders in my mac and I did not find this file. is that the right file?", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-03-03T01:16:38.000+0000", "updated": "2016-03-03T01:16:38.000+0000" }, { "id": "378835", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "Hello Appcelerator team,\r\n\r\nRamesh and I work as a team. So, is there a response to his last question posted two days ago? We are waiting for the response as to the file. Please make this a priority and respond, as we have been waiting for several days now to get this issue resolve. Thanks!", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-03-06T00:25:38.000+0000", "updated": "2016-03-06T00:25:38.000+0000" }, { "id": "378841", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The workaround that Ardy proposed should work [~rramesh1], Can you go through each android module folder again? especially those that you are using in your app. (except timap).\r\n\r\nAlso, what you can try to do is to create a new app with the ti.map module, and add and build other modules until it fails so that you can find which is the module that contains the conflicting google-play-services?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-06T07:00:12.000+0000", "updated": "2016-03-06T07:00:12.000+0000" }, { "id": "379535", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "I have done a very small simple App that uses ti.maps (for Android) and another Module which uses FusedLocation. Both have the libs/google-play-services.jar, the one of ti.map has the trimmed google-play-services split in 2 jar files as indicated in the module. Both modules are part of the project.\r\n\r\nIf I remove the module altogether: geolocationPro (the FusedLocation), the App works. Using this with SDK 5.1.2.GA and 5.2.0.GA, each has it's issues. If anyone is able to make it run (ideally in 5.2.0), then we possibly could have a solution for google-play-services being used for multiple modules within the same App.\r\n\r\nSo with this sample ti.map and other modules with their lib/google-play-services.jar App, 5.2.0.GA is not working.\r\n\r\nSample Alloy Project: https://www.dropbox.com/s/jsl9h9ksypa0lta/TiMapIssueAlloy.zip?dl=0", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-03-11T14:52:21.000+0000", "updated": "2016-03-13T15:11:29.000+0000" }, { "id": "381861", "author": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "body": "UPDATE: Our issue got fixed by one of our developer @Miguel by unifying google-play-services for ti.map, ti.cloudpush and geolocation-pro (our custom module for Android's Fused Location).\r\n\r\nNote though: ti.map and ti.cloudpush work with version 7571000 of google-play-services.jar", "updateAuthor": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "created": "2016-04-06T13:50:22.000+0000", "updated": "2016-04-06T13:51:32.000+0000" }, { "id": "382010", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~underlabs] (y)", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-04-07T01:32:48.000+0000", "updated": "2016-04-07T01:32:48.000+0000" }, { "id": "382019", "author": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "body": "can you please let me know how you guys unified it? I have been waiting for a solution. thanks in advance.\r\n\r\ncheers", "updateAuthor": { "name": "rramesh1", "key": "rramesh1", "displayName": "Ramesh RAMAMURTHY", "active": true, "timeZone": "America/Denver" }, "created": "2016-04-07T02:10:30.000+0000", "updated": "2016-04-07T02:10:30.000+0000" }, { "id": "382115", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "I work with Ramesh and my question is this same as his.\n\nCan you pls describe the steps you followed to get this issued fixed?", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-04-07T18:58:15.000+0000", "updated": "2016-04-07T18:58:15.000+0000" }, { "id": "382225", "author": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "body": "Can Abu or Sachs please describe the steps to overcome the issue of the map?", "updateAuthor": { "name": "tsriniv", "key": "tsriniv", "displayName": "Thiru", "active": true, "timeZone": "America/Denver" }, "created": "2016-04-08T19:46:30.000+0000", "updated": "2016-04-08T19:46:30.000+0000" }, { "id": "385734", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The solution being referred to is the same one we use which is to use one of several techniques to create your own google-play-services.jar file which replaces the various google-play-services.jar files (with various names) that are in the different Android modules that we use. In our case, instead of FusedLocation, it is a Push Messaging module that causes problems for us. Making all modules use the same google-play-services.jar file solves the problem. Otherwise there are conflicts in references that can't be resolved because there are two (or more) possible resolutions for at least some of the references to methods in Google Play Services.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-15T07:39:49.000+0000", "updated": "2016-05-15T07:39:49.000+0000" }, { "id": "387348", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The quickest way to grab the specific libraries is from android-sdks's m2repository, namely: android-sdks/extras/google/m2repository/com/google/android/gms/*\r\n\r\nIf you don't have m2repository, you can download it from the SDK Manager.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-01T22:08:03.000+0000", "updated": "2016-06-01T22:08:03.000+0000" }, { "id": "405100", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This issue was fixed in 6.0.0 as part of TIMOB-23697.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-23T21:01:50.000+0000", "updated": "2017-01-23T21:01:50.000+0000" }, { "id": "415501", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:47:19.000+0000", "updated": "2017-03-23T22:47:19.000+0000" } ], "maxResults": 45, "total": 45, "startAt": 0 } } }