[TIMOB-26134] Android: Crashes when importing Ti.CloudPush in 7.2.0 SDK
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-07-05T15:40:22.000+0000 |
Affected Version/s | Release 7.2.0 |
Fix Version/s | Release 7.3.0 |
Components | Android |
Labels | android, cloudpush, google-play-services |
Reporter | Vittorio Sorbera |
Assignee | Gary Mathews |
Created | 2018-06-15T14:56:34.000+0000 |
Updated | 2018-07-05T18:08:40.000+0000 |
Description
Importing this modules on tiapp.xml manifest
<module platform="android" version="5.1.0">ti.cloudpush</module>
<module platform="android" version="11.0.40">ti.playservices</module>
the build fails during running dexer, with this error:
[ERROR] Failed to run dexer:
[ERROR]
[ERROR] Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/appcelerator/aps/BuildConfig;
[ERROR] 1 error; aborting
The problem does not seem to occur using the previous version of ti.cloudpush (5.0.2)
Attachments
File | Date | Size |
---|---|---|
ti.cloudpush-android-5.1.2.zip | 2018-06-18T11:20:34.000+0000 | 184914 |
I've the same bug. Also, I've done a clean installation and I only have 7.2.0.GA now. Where can I download the previous version 5.0.2 of ti.cloudpush? Thanks
You have to download a previous SDK, for example 7.1.1 http://builds.appcelerator.com.s3.amazonaws.com/index.html#7_1_X
Might be related to MOD-2432, can you try the attached module?
I can't access to the repo https://github.com/appcelerator-modules/cloudpush, maybe I need permission?
Thats why I had attached it to this ticket.
ti.cloudpush: https://github.com/appcelerator-modules/cloudpush/releases/tag/android-5.1.2
Sorry, I had not noticed the attachment. OK, with this version 5.1.2 it seems to work :)
titanium_mobile: https://github.com/appcelerator/titanium_mobile/pull/10118 titanium_mobile-7_3_X: https://github.com/appcelerator/titanium_mobile/pull/10119
*Closing ticket.* The fix is present in SDK: {noformat} 7.3.0.v20180703051211 {noformat} and ti.cloudpush
5.1.2
This doesnt work on vpc env at all.