-
Notifications
You must be signed in to change notification settings - Fork 395
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
Multidex an Proguard fixes #509
Conversation
…le, not in assets (compatible with android.support.MultiDex)
…y config file instead of full command line options
Is there a test for multi dex?
|
Awesome ... I will check it out tonight or later this week. |
@william-ferguson-au |
Can you add a test? On Tue, Nov 18, 2014 at 1:27 AM, Łukasz Suski [email protected]
|
I'll try but I am not familiar with those kind of tests, I have simple test project but don't know how exactly test it. Is there any similar test I could base on? |
You can just share a sample project.
|
I think that it's difficult to know which classes are put to the second dex because dx tool manages this process. You can try to create a project adding multiple jars to overflow 64k method limit. Then maven with multi-dex flag to true generates two dex files (you can open the apk to see it at the root folder). Then if your sample project has multidex enabled when you run the application you can see to the log how Multidex class load the secondary dex file. |
You could try to put 3 or 4 huge libraries: (play services, guava, aws (amazon)) and then call some stuff from each of them... |
An example project and a IT test would be nice. But as it stands this looks good already as well. |
Sorry for delay, |
I made changes for multidexing on fresh fork and also add fix for Proguard command line parameters. Related to
#482 (can be rejected)
and
#507