Can we create multi dex support builds in Titanium

2019-07-04 19:25发布

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条回答
2楼-- · 2019-07-04 20:02

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.

查看更多
登录 后发表回答