Can we create multi dex support builds in Titanium android?

拟墨画扇 提交于 2019-12-13 14:41:39

问题


I have been developing an application in Titanium android.Somehow after updating titanium i started getting the 65k limit error and the solution i got is : https://www.contentful.com/blog/2014/10/30/android-and-the-dex-64k-methods-limit/ But how to implement these in Titanium ?


回答1:


this question was asked and an issue was created in 2014: https://jira.appcelerator.org/browse/TIMOB-18082

however, it is not resolved. (Under Titanium SDK 5.1.1.GA)

I met this problem today, and my solution is:

remove the unnecessary jar files!

Those jar files was referred by some java class, has huge methods ( more than 1k) but it will not be used at run time, so removing them will not cause app crash nor throw exceptions.

This is not an final solution, but kinda of trick. whatever, it works for me.



来源:https://stackoverflow.com/questions/27169053/can-we-create-multi-dex-support-builds-in-titanium-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!