{ "id": "155295", "key": "MOD-2207", "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": [ { "id": "17524", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-14" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-01-23T21:01:12.000+0000", "created": "2016-03-03T00:19:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "geofence" ], "versions": [], "issuelinks": [ { "id": "50871", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154834", "key": "TIMOB-20377", "fields": { "summary": "Android: Inclusion of Ti.map causes a compile error for Nexus 5 device running Android 6.01", "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 } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2017-08-15T20:18:29.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": [], "description": "There are several problems with this. At first, i get an error that classes are already included. I have read about this problem elsewhere. So I removed google-play-services.jar from ti. From there it was able to build.\r\n\r\nNow I can get the app to launch in the simulator, but as soon as it tries to register a location, it crashes with this error log:\r\n\r\nhttps://gist.github.com/macdabby/693aaf2381cb3334c795\r\n\r\nIn it's original state, with all modules in tact as they are downloaded, i get this message in both 5.2.0 and 5.1.2:\r\n\r\n[INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java \"-Xmx1024M\" \"-XX:-UseGCOverheadLimit\" \"-Djava.ext.dirs=/Users/dab/Library/android-sdk-macosx/platform-tools\" \"-jar\" \"/Users/dab/Library/android-sdk-macosx/build-tools/23.0.1/lib/dx.jar\" \"--dex\" \"--output=/Users/dab/Documents/dude/DWIApp/dwidude/build/android/bin/classes.dex\" \"/Users/dab/Documents/dude/DWIApp/dwidude/build/android/bin/classes\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/lib/titanium-verify.jar\" \"/Users/dab/Documents/dude/DWIApp/dwidude/modules/android/com.gconstantino.audiorecorder/1.0/audiorecorder.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.map/2.3.6/map.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.map/2.3.6/lib/google-play-services-base.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.map/2.3.6/lib/google-play-services-map.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.1/cloudpush.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.1/lib/aps-cloudpush-1.1.4.jar\" \"/Users/dab/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.1/lib/google-play-services-gcm.jar\" \"/Users/dab/Documents/dude/DWIApp/dwidude/modules/android/ti.geofence/1.1.2/geofence.jar\" \"/Users/dab/Documents/dude/DWIApp/dwidude/modules/android/ti.geofence/1.1.2/lib/google-play-services.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-v8.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-analytics.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/aps-analytics.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-android.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/jaxen-1.1.1.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/ti-commons-codec-1.3.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/kroll-common.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/titanium.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-app.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-ui.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/nineoldandroids-appc-2.4.0.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-filesystem.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-media.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-appcompat.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v4.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/android-support-v7-appcompat.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-cardview.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/cardview-v7-23.0.1.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-locale.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-network.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-xml.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-platform.jar\" \"/Users/dab/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/android/modules/titanium-geolocation.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] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.run(Main.java:277)\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.main(Main.java:245)\r\n[ERROR] : \tat com.android.dx.command.Main.main(Main.java:106)\r\n[ERROR] : Caused by: java.lang.InterruptedException: Too many errors\r\n[ERROR] : \tat com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)\r\n[ERROR] : \t... 4 more\r\n", "attachment": [], "flagged": false, "summary": "Android: Can't build project with ti.geofencing and ti.map", "creator": { "name": "macdabby", "key": "macdabby", "displayName": "dan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "macdabby", "key": "macdabby", "displayName": "dan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "ti.geofence 1.1.4\r\nti.cloudpush 3.4.1\r\nti.map 2.3.6\r\nappcelerator studio 4.5.0.201602170821\r\nsdk 5.2.0GA", "comment": { "comments": [ { "id": "378534", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Please try to launch your app in real device and let us know the result. Try building your app using sdk 5.1.2.GA. Also please provide your platform and environment details. If it is possible then give us the steps to reproduce this issue so that we can test it and dig deep. It will be more helpful and faster if you give test project or test code.\r\n\r\nThanks.", "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-03-03T04:52:34.000+0000", "updated": "2016-03-03T04:52:34.000+0000" }, { "id": "378720", "author": { "name": "macdabby", "key": "macdabby", "displayName": "dan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm not sure what you mean platform and environment. I have a mac, with os 10.11.3. I have tried to build for both the simulator and an android HTC desire, but I don't think that is the issue.", "updateAuthor": { "name": "macdabby", "key": "macdabby", "displayName": "dan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-03T23:40:56.000+0000", "updated": "2016-03-03T23:40:56.000+0000" }, { "id": "405099", "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:12.000+0000", "updated": "2017-01-23T21:01:12.000+0000" }, { "id": "426707", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T20:18:29.000+0000", "updated": "2017-08-15T20:18:29.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }