{ "id": "151094", "key": "AC-343", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-11-21T18:42:08.000+0000", "created": "2015-09-10T16:42:51.000+0000", "labels": [ "android", "cloudpush", "map", "module" ], "versions": [], "issuelinks": [ { "id": "49039", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "150391", "key": "TIMOB-19348", "fields": { "summary": "Android: Split google-play-services library to optimize method counts", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updated": "2016-06-22T08:12:32.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "So after updating Appcelerator Studio to 4.1.1.201507141126 I attempted to build my app again and make changes but got the following error.\r\n\r\n{code}\r\n[INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac \"-J-Xmx256M\" \"-encoding\" \"utf8\" \"-bootclasspath\" \"/Users/paul/Work/Spudatron/Production/SDKs/Android/platforms/android-22/android.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/kroll-v8.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-analytics.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/aps-analytics.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-android.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/jaxen-1.1.1.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/ti-commons-codec-1.3.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/kroll-common.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/titanium.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-app.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-ui.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-filesystem.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-media.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-appcompat.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/android-support-v4.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/android-support-v7-appcompat.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-locale.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-network.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/thirdparty.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-xml.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-utils.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-geolocation.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-accelerometer.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-contacts.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-map.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-calendar.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-gesture.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-platform.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-database.jar:/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/dk.napp.drawer/1.1.5/nappslide.jar:/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/yy.hasmenu/0.1/hasmenu.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/map.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/lib/google-play-services-base.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/lib/google-play-services-map.jar:/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/analytics.google/3.1.0/analytics.google.jar:/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/analytics.google/3.1.0/lib/google-play-services.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/cloudpush.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/lib/aps-cloudpush-1.1.4.jar:/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/lib/google-play-services-gcm.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/kroll-apt.jar:/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/lib/titanium-verify.jar:Manifest.class:R.class:ApplicationStylesheet.class:ParkviaBetaAndroidActivity.class:ParkviaBetaAndroidAppInfo.class:ParkviaBetaAndroidApplication.class\" \"-d\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/build/android/bin/classes\" \"-proc:none\" \"-target\" \"1.6\" \"-source\" \"1.6\" \"@/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/build/android/java-sources.txt\"\r\n[INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java \"-Xmx1024M\" \"-XX:-UseGCOverheadLimit\" \"-Djava.ext.dirs=/Users/paul/Work/Spudatron/Production/SDKs/Android/platform-tools\" \"-jar\" \"/Users/paul/Work/Spudatron/Production/SDKs/Android/build-tools/23.0.1/lib/dx.jar\" \"--dex\" \"--output=/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/build/android/bin/classes.dex\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/build/android/bin/classes\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/lib/titanium-verify.jar\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/dk.napp.drawer/1.1.5/nappslide.jar\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/yy.hasmenu/0.1/hasmenu.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/map.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/lib/google-play-services-base.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.map/2.3.3/lib/google-play-services-map.jar\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/analytics.google/3.1.0/analytics.google.jar\" \"/Users/paul/Work/Spudatron/Production/Mobile App Development/Appcelerator Studio/ParkVia Beta - Android/modules/android/analytics.google/3.1.0/lib/google-play-services.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/cloudpush.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/lib/aps-cloudpush-1.1.4.jar\" \"/Users/paul/Library/Application Support/Titanium/modules/android/ti.cloudpush/3.4.0/lib/google-play-services-gcm.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/kroll-v8.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-analytics.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/aps-analytics.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-android.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/jaxen-1.1.1.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/ti-commons-codec-1.3.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/kroll-common.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/titanium.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-app.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-ui.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/nineoldandroids-appc-2.4.0.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-filesystem.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-media.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-appcompat.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/android-support-v4.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/android-support-v7-appcompat.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-locale.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-network.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/thirdparty.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-xml.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-utils.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-geolocation.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-accelerometer.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-contacts.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-map.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-calendar.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-gesture.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-platform.jar\" \"/Users/paul/Library/Application Support/Titanium/mobilesdk/osx/4.1.1.GA/android/modules/titanium-database.jar\"\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\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\nTRACE | titanium exited with exit code 1\r\nERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/paul/.appcelerator/install/4.1.3/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)\r\n at ChildProcess.emit (events.js:98:17)\r\n at Process.ChildProcess._handle.onexit (child_process.js:820:12)\r\n{code}\r\n\r\nI found this post online http://stackoverflow.com/questions/13291697/android-illegalargumentexception-already-added which references that they're are duplicate JAR's being called. \r\n\r\nOn looking into the issue I found that ti.cloudpush (now 3.4.0) and ti.map (now 2.3.3) have been updated with the latest Appcelerator Studio and Ti SDK builds. Both seem to contain in their /lib directory use the filename google-play-services-base.jar, the previous versions use the filename google-play-services.jar.\r\n\r\nThese previous versions ti.cloudpush 3.3.8 and ti.map 2.3.1 don't through up the error so I am assuming the conflict is with these files.\r\n\r\nCan someone confirm there is an issue with this? Rolling back is a temporary solution.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Ti Modules causing conflict", "creator": { "name": "paulflood", "key": "paulflood", "displayName": "Paul Flood", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "paulflood", "key": "paulflood", "displayName": "Paul Flood", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X 10.10.5\r\nAppcelerator Studio\r\nTi SDK 4.1.0\r\nBuilding on Android 4.3 Device on Genymotion\r\n", "comment": { "comments": [ { "id": "364313", "author": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "body": "I'm having the same issue but on SDK 5.0.0.GA\r\n\r\nAnd when using Ti.Ma 2.3.3, and Ti.GA I get the same error.\r\n\r\nRolling back to 2.3.1 fixes the issue.", "updateAuthor": { "name": "ulizama", "key": "ulizama", "displayName": "Uriel Lizama", "active": true, "timeZone": "America/Mexico_City" }, "created": "2015-09-18T18:36:30.000+0000", "updated": "2015-09-18T18:36:30.000+0000" }, { "id": "370678", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~ulizama], This is not a bug in SDK 5.0.2.GA and 5.1.0.v20151023172822. I have tested it. The modules ti.cloudpush (now 3.4.0) and ti.map (now 2.3.4) in Android does not cause any conflict in the project. Try updating to latest version. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-11-18T09:31:45.000+0000", "updated": "2015-11-18T09:31:45.000+0000" }, { "id": "371666", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It's not a bug but it creates an almost intractable problem for those wanting to use either their own modules or 3rd party modules that make use of Google Play Services. The problem is that everyone designs their modules to work with a particular version of Google Play Services and then they distribute that version with the module. If I design or use a module that uses a different version of Google Play Services and include that library, then when you try to do a build, Studio and the Android build tools can't figure out which Play Services library methods to use and you get errors because of the duplicate code from different versions of Play Services.\r\n\r\nAn easy test is to try to integrate the PushWoosh Android module together with Ti.Map and see what happens. \r\nhttps://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/tree/master/Push-Notifications-Module/modules/android/com.pushwoosh.module/1.1.0\r\nJust add Ti.Map and the PushWoosh module to a default mobile app project and build for Android - and you get these errors.\r\n\r\n\r\n\r\n{panel:title=Console}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 34359738368\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.1.1.GA\r\n SDK Path = /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA\r\n Target Platform = android\r\nCommand\r\n /usr/local/bin/node /Users/jrf/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium build --platform android --log-level trace --sdk 5.1.1.GA --project-dir /Users/jrf/Studio/moduleTest --target device --android-sdk /Users/jrf/Library/android-sdk-macosx --device-id 05157df5094b6916 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 54650 --username jrf@acm.org --password Racc00ns --plugin-paths /Users/jrf/.appcelerator/install/5.1.0/package/node_modules --config-file /var/folders/t3/s18yk78s7tdfs4tr9lq0ckb00000gn/T/build-1448911096972.json --no-banner\r\n{color:green}[INFO] : Found Titanium module id=ti.map version=2.3.4 platform=android deploy-type=test path=/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4\r\n[INFO] : Found Titanium module id=com.pushwoosh.module version=1.1.0 platform=android deploy-type=test path=/Users/jrf/Library/Application Support/Titanium/modules/android/com.pushwoosh.module/1.1.0{color}\r\n[INFO] : Deploy type: test\r\n[INFO] : Building for target: device\r\n[INFO] : Building for device: 05157df5094b6916\r\n[INFO] : Targeting Android SDK API: 23\r\n[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86\r\n[INFO] : Signing with keystore: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/dev_keystore (tidev)\r\n[INFO] : Debugging disabled\r\n[INFO] : Profiler disabled\r\n[INFO] : Forcing rebuild: /Users/jrf/Studio/moduleTest/build/android/build-manifest.json does not exist\r\n[INFO] : JavaScript files need to be encrypted\r\n[INFO] : Processing JavaScript files\r\n[INFO] : Encrypting JavaScript files: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/titanium_prep.macos \"com.phondini.moduleTest\" \"/Users/jrf/Studio/moduleTest/build/android/assets\" \"app.js\" \"_app_props_.json\"\r\n[INFO] : Writing /Users/jrf/Studio/moduleTest/build/android/bin/assets/app.json\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-analytics.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-android.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-app.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-filesystem.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-media.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-locale.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-network.res.zip\r\n[INFO] : Extracting module resources: /Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-xml.res.zip\r\n[INFO] : No aidl files to compile, continuing\r\n[INFO] : Generating i18n files\r\n[INFO] : Generating /Users/jrf/Studio/moduleTest/build/android/res/values/theme.xml\r\n[INFO] : Packaging application: /Users/jrf/Library/android-sdk-macosx/build-tools/23.0.0/aapt \"package\" \"-f\" \"-m\" \"-J\" \"/Users/jrf/Studio/moduleTest/build/android/gen\" \"-M\" \"/Users/jrf/Studio/moduleTest/build/android/AndroidManifest.xml\" \"-A\" \"/Users/jrf/Studio/moduleTest/build/android/bin/assets\" \"-S\" \"/Users/jrf/Studio/moduleTest/build/android/res\" \"-I\" \"/Users/jrf/Library/android-sdk-macosx/platforms/android-23/android.jar\" \"-F\" \"/Users/jrf/Studio/moduleTest/build/android/bin/app.ap_\" \"--auto-add-overlay\" \"--extra-packages\" \"ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview:com.google.android.gms\" \"-S\" \"/var/folders/t3/s18yk78s7tdfs4tr9lq0ckb00000gn/T/1151030-46754-1imgpmg/res\" \"-S\" \"/var/folders/t3/s18yk78s7tdfs4tr9lq0ckb00000gn/T/1151030-46754-nhy567/res\" \"-S\" \"/var/folders/t3/s18yk78s7tdfs4tr9lq0ckb00000gn/T/1151030-46754-87g61k/res\"\r\n[INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/javac \"-J-Xmx1024M\" \"-encoding\" \"utf8\" \"-bootclasspath\" \"/Users/jrf/Library/android-sdk-macosx/platforms/android-23/android.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/kroll-v8.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-analytics.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/aps-analytics.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-android.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/jaxen-1.1.1.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/ti-commons-codec-1.3.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/kroll-common.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/titanium.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-app.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-ui.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-filesystem.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-media.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-appcompat.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/android-support-v4.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/android-support-v7-appcompat.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-cardview.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/cardview-v7-23.0.1.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-locale.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-network.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-xml.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/map.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-base.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-map.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/com.pushwoosh.module/1.1.1/pushnotifications.jar:/Users/jrf/Library/Application Support/Titanium/modules/android/com.pushwoosh.module/1.1.1/lib/Pushwoosh.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/kroll-apt.jar:/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/lib/titanium-verify.jar:Manifest.class:R.class:AssetCryptImpl.class:ModuletestActivity.class:ModuletestAppInfo.class:ModuletestApplication.class\" \"-d\" \"/Users/jrf/Studio/moduleTest/build/android/bin/classes\" \"-proc:none\" \"-target\" \"1.6\" \"-source\" \"1.6\" \"@/Users/jrf/Studio/moduleTest/build/android/java-sources.txt\"\r\n[INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java \"-Xmx1024M\" \"-XX:-UseGCOverheadLimit\" \"-Djava.ext.dirs=/Users/jrf/Library/android-sdk-macosx/platform-tools\" \"-jar\" \"/Users/jrf/Library/android-sdk-macosx/build-tools/23.0.0/lib/dx.jar\" \"--dex\" \"--output=/Users/jrf/Studio/moduleTest/build/android/bin/classes.dex\" \"/Users/jrf/Studio/moduleTest/build/android/bin/classes\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/lib/titanium-verify.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/map.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-base.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services-map.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/ti.map/2.3.4/lib/google-play-services.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/com.pushwoosh.module/1.1.1/pushnotifications.jar\" \"/Users/jrf/Library/Application Support/Titanium/modules/android/com.pushwoosh.module/1.1.1/lib/Pushwoosh.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/kroll-v8.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-analytics.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/aps-analytics.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-android.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/jaxen-1.1.1.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/ti-commons-codec-1.3.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/kroll-common.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/titanium.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-app.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-ui.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/nineoldandroids-appc-2.4.0.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-filesystem.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-media.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-appcompat.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/android-support-v4.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/android-support-v7-appcompat.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-cardview.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/cardview-v7-23.0.1.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-locale.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-network.jar\" \"/Users/jrf/Library/Application Support/Titanium/mobilesdk/osx/5.1.1.GA/android/modules/titanium-xml.jar\"\r\n{color:red}[ERROR] : Failed to run dexer:\r\n[ERROR] : \r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzg;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zze;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzh;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zze$zza;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzf;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzc;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzf$zza$zza;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zzd$zza;\r\n[ERROR] : Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/signin/internal/zze$zza$zza;{color}\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\n2015-11-30T19:19:01.490Z | TRACE | titanium exited with exit code 1\r\n2015-11-30T19:19:01.491Z | ERROR | Error: ti run exited with error code 1\r\n at ChildProcess. (/Users/jrf/.appcelerator/install/5.1.0/package/node_modules/appc-cli-titanium/plugins/run.js:92:66)\r\n at ChildProcess.emit (events.js:110:17)\r\n at Process.ChildProcess._handle.onexit (child_process.js:1074:12)\r\n2015-11-30T19:19:01.492Z | TRACE | Sending exit signal to titanium process: 46754\r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{panel}", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-30T19:29:35.000+0000", "updated": "2015-11-30T19:34:34.000+0000" }, { "id": "371667", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Let me add by stating that the problem is further complicated by the fact that it is almost impossible to figure out what version of Google Play Services the Titanium cut-down libraries are built from. If we knew that, then we could try to build compatible cut-down libraries to support third-party modules.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-30T19:37:17.000+0000", "updated": "2015-11-30T19:37:17.000+0000" }, { "id": "380854", "author": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "body": "How is this issue marked \"resolved\" when it isn't? I encountered the same issue with the latest modules specified in tiapp.xml for ti.cloudpush and ti.map for android. The ti.cloudpush version is 3.4.1 and ti.map version is 2.3.8. Perhaps the problem is compounded when I use the analytics.google module from https://github.com/Sitata/titanium-google-analytics.\r\n\r\nThere is no way that developers can keep up with this, so please find a \"correct\" solution to fix this issue.\r\n\r\nUPDATE:\r\nOnce I removed the analytics.google module AND ti.cloudpush module references, the issue went away. This is clearly not acceptable.", "updateAuthor": { "name": "parijatsahai", "key": "parijatsahai", "displayName": "Parijat sahai", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-28T21:38:55.000+0000", "updated": "2016-03-29T13:18:02.000+0000" }, { "id": "380878", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I will second Parijat's comments. We've had to build custom Google Play jar files in order to address the different needs of different modules from Ti, third-parties and our own modules. As I said before, it would be easier if the Google Play jar files identified what version they were built from but that is missing. It's a mess.\r\n\r\nAs a test, just try to build any Ti project with Ti Android modules and third-party Android modules. Bad things almost always happen as per this bug.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T04:31:27.000+0000", "updated": "2016-03-29T04:31:27.000+0000" }, { "id": "380943", "author": { "name": "rsperberg", "key": "rsperberg", "displayName": "Roger Sperberg", "active": true, "timeZone": "America/New_York" }, "body": "We are having the same problem with ti.map for Android. Only when we remove ti.googleanalytics are we able to build.\r\nSo, echoing Parijat, the issue doesn't seem resolved at all.", "updateAuthor": { "name": "rsperberg", "key": "rsperberg", "displayName": "Roger Sperberg", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-29T14:30:05.000+0000", "updated": "2016-03-29T14:30:05.000+0000" }, { "id": "380976", "author": { "name": "developer@imoonlight.io", "key": "developer@imoonlight.io", "displayName": "Moonlight Developer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I have gotten passed the dexer issue by deleting duplicate Google Play Services Lib files. When I go to run the app I get an error saying getFields() method is undefined. I am using 5.2.0 GA and ti.googleanalytics.", "updateAuthor": { "name": "developer@imoonlight.io", "key": "developer@imoonlight.io", "displayName": "Moonlight Developer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T20:08:15.000+0000", "updated": "2016-03-29T20:08:15.000+0000" }, { "id": "388821", "author": { "name": "arildo", "key": "arildo", "displayName": "Arildo Junior", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm using analytics.google and ti.cloudpush (3.4.1). I solved this issue deleting \"google-play-services-base.jar\" in cloudpush's lib folder. I'm not sure but doing that it seems that Titanium recognizes the JAR file from analytics as the only source for Google Play Services.", "updateAuthor": { "name": "arildo", "key": "arildo", "displayName": "Arildo Junior", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-22T08:12:32.000+0000", "updated": "2016-06-22T08:12:32.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }