I am using google play services in my project only for GCM. I got the following error when I updated my google play services library
[2015-12-04 14:50:10 - MyGame] Dx
trouble writing output: already prepared
[2015-12-04 14:50:14 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2015-12-04 14:50:14 - MyGame] Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536
On googling I found that this error was thrown because my dex file exceeded the limit.I do not want to split my dex file. Can anyone tell me how to remove unused functions. I do not see much suggestion for doing this using eclipse.
I have seen people suggesting to use proguard, but somehow this is not working for me. It might be because I am not all that familier with using proguard.
Please help.