Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19348] Android: Split google-play-services library to optimize method counts

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-08-23T22:00:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.0.0
ComponentsAndroid
Labelsn/a
ReporterHieu Pham
AssigneeHieu Pham
Created2015-08-13T19:47:19.000+0000
Updated2016-05-06T17:42:45.000+0000

Description

Optimize google-play-services library to reduce method counts for these modules: - Ti.Map: https://github.com/appcelerator-modules/ti.map - Ti.Cloudpush: https://github.com/appcelerator-modules/cloudpush - Ti.Admob: https://github.com/appcelerator-modules/ti.admob

Comments

  1. Hieu Pham 2015-08-23

    map PR: https://github.com/appcelerator-modules/ti.map/pull/113 map master PR: https://github.com/appcelerator/titanium_mobile/pull/7050 map 4.1.X PR: https://github.com/appcelerator/titanium_mobile/pull/7007 cloudpush PR: https://github.com/appcelerator-modules/cloudpush/pull/26 cloudpush master PR: https://github.com/appcelerator/titanium_mobile/pull/7022 cloudpush 4.1.X PR: https://github.com/appcelerator/titanium_mobile/pull/7023 admob PR: https://github.com/appcelerator-modules/ti.admob/pull/38
  2. Lokesh Choudhary 2015-08-24

    Verified the fix for the modules. The modules build fine on pre & post android 5.0. Also built kitchensink by adding these 3 modules & did not find any issues. Closing. Environment: Appc Studio : 4.2.0.201508062204 Ti SDK : 4.1.1.v20150816214206, 5.0.0.v2015081914042, Ti CLI : 4.1.4 Alloy : 1.6.2 MAC Yosemite : 10.10.4 Appc NPM : 4.1.0 Appc CLI : 4.2.0-54 Node: v0.10.37 Samsung Galaxy S4 - Android 4.4.2 Nexus 6 - Android 5.0.1 Nexus 5 - Android 5.1.1
  3. grebulon 2015-09-30

    This is not a good fix for the 65K reference problem. It can give you a little slack, but even so, it keeps you close to the edge. You have to support multidex in the build script.
  4. Adam 2016-04-01

    Hi there. I'm managing a popular google analytics module for Titanium. https://github.com/Sitata/titanium-google-analytics/ https://github.com/Sitata/titanium-google-analytics/issues/48 Can anyone shed some light on how the play services jars were stripped and created? I'm using [this gist](https://gist.github.com/dextorer/a32cad7819b7f272239b) to create the stripped jars. To get analytics to compile on it's own, I have to include "analytics" and "internal". However, there are still conflicts when using with other modules. I have no idea how the base.jar was created and what is included in it and so it's hard to determine the cause of the conflicts. I've spent some time trying to find the issue here in JIRA that involves all of this or some documentation to describe the process, but haven't had much luck there. Can you please point me in the right direction? Thanks.
  5. Jason Priebe 2016-05-06

JSON Source