Closed mattlanham closed 8 years ago
do you include other modules? It is a problem with the google services (jars inside the lib folder)
I have just tested a brand new, clean default alloy project with 5.0.2.GA SDK and it doesn't work, so I assume this must be an issue with this module, or it's compatibility with the new SDK?
Which Android version are you targeting? Please post the relevant parts of your tiapp.xml.
Turns out it was to do with the inclusion of google play services within this module, how would you get around this, seems a little crazy for it to clash on this? https://github.com/Sitata/titanium-google-analytics
There are multiple bugs in jira about including multiple modules that bring their own version of the play-services (it gets tricky when you use maps and a different version). But you can use a stripped version of the play services, that only include the stuff you need. That mimizes the collisions.
E.g. Ti.GA has a pull request with a stripped version (https://github.com/benbahrenburg/Ti.GA/pull/6). It smaller too.
I guess you could use something like https://gist.github.com/dextorer/a32cad7819b7f272239b to just use the gcm stuff inside the services
When I include the module in my project I am getting the following error, can you let me know how I should go about resolving this?