Can we build multi dex support builds in titanium android?

I am developing an application in titanium android. Sometimes after titanium update I started getting 65k limit error and the solution I got is this: https://www.contentful.com/blog/2014/10/30/android-and-the-dex-64k-methods- limit / But how to implement them in titanium?

+3


source to share


1 answer


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

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

I met this problem today and my solution is:



remove unnecessary jar files!

These jar files were passed by some java class, has huge methods (over 1k), but it won't be used at runtime, so removing them won't crash the application and throw an exception.

This is not a final solution, but a kind of trick. whatever it is, it works for me.

+1


source







All Articles