-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when module included #13
Comments
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 (benbahrenburg/Ti.GA#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 |
Yes, please open a ticket for the other module to strip their version of the shipped Google Play Services jar. I've limited the version used in gcmpush already. OTOH, it would be nice if there was a workaround for this provided by Appcelerator |
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?
The text was updated successfully, but these errors were encountered: