Skip to content
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

The command line is too long with proguard and many aar dependencies #507

Closed
lsuski opened this issue Nov 14, 2014 · 3 comments
Closed

The command line is too long with proguard and many aar dependencies #507

lsuski opened this issue Nov 14, 2014 · 3 comments

Comments

@lsuski
Copy link

lsuski commented Nov 14, 2014

Hi,
problem is probably related with #191, but now when aar dependencies are treated similar to jars command line becomes very long. I hope this can be fixed.

@william-ferguson-au
Copy link
Contributor

You need to provide a project that is failing.

@lsuski
Copy link
Author

lsuski commented Nov 15, 2014

According to this http://support.microsoft.com/kb/830473 windows command line has limit of 8191 characters. If we have project with many dependencies each path of dependency is passed to command line as injars parameter so it is possible to reach this limit. Maybe the better approach would be creating temporary config file containing all injars parameters and passing it to proguard instead of full command options. I can try to prepare fix if this is good approach.

@william-ferguson-au
Copy link
Contributor

If Proguard accepts a config file then that sounds like a good solution.
Go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants