[MOD-2289] Android - Latest 6.X SDK crashes when importing Ti.CloudPush
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-11-09T13:31:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0 |
Components | CloudPush |
Labels | android, push, titanium, v8 |
Reporter | Rodolfo Perottoni |
Assignee | Christopher Williams |
Created | 2016-08-25T04:18:58.000+0000 |
Updated | 2018-08-06T17:49:30.000+0000 |
Description
As the title says... -> Create a new alloy project -> Import Ti.CloudPush on TiApp.xml:
<module platform="android">ti.cloudpush</module>
-> Build project. Dexer fails because of duplicated classes:
[ERROR] Failed to run dexer:
[ERROR]
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCallbackHandler;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$1;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$2;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$2$1;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSAnalyticsInfo;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSFocusIntentHandler;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSGetActivityHandler;
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/APSCloudPush$APSIconHandler;
[ERROR]
[ERROR] UNEXPECTED TOP-LEVEL EXCEPTION:
[ERROR] java.lang.RuntimeException: Translation has been interrupted
[ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:613)
[ERROR] at com.android.dx.command.dexer.Main.runMultiDex(Main.java:366)
[ERROR] at com.android.dx.command.dexer.Main.run(Main.java:275)
[ERROR] at com.android.dx.command.dexer.Main.main(Main.java:245)
[ERROR] at com.android.dx.command.Main.main(Main.java:106)
Comments
- Hans Knöchel 2016-08-25 Which ti.cloudpush version are you using? We have version 4.0.0 ready already that will be available in 6.0.0
- Rodolfo Perottoni 2016-08-25 4.0.0. The problem is not the module, because it works on 6.1.0. (I don't want to use 6.1.0 though, it's too unstable to work with right now).
- Ashraf Abu 2016-08-25 Just a note, only Ti.Cloudpush 4.0.0 can be used for SDK 6.x+.
- Hans Knöchel 2016-08-28 Resolving for now, since you probably used the 4.x version on Titanium SDK < 6.0.0. Since the bump is "only" because of the V8-update, all other components are the same in the current 3.x version.
- Rodolfo Perottoni 2016-08-28 As i've said in the title and in my previous comment, i'm using the SDK 6.0.0.X and CloudPush 4. Why close the ticket ?
- Hans Knöchel 2016-08-28 You talked about 6.1.0 in the comment above, so it was overlapping with your environment. WIll reopen and move to MOD, thanks!
- Rodolfo Perottoni 2016-11-09 This ticket is not valid anymore. Using CloudPush with the 6.0.0 beta release works fine.
- Hans Knöchel 2016-11-09 Thanks Rodolfo!
- Eric Merriman 2018-08-06 Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.