Hi trying to use Gradle I’m facing the foltowing issue while dexing the final module:
* What went wrong:
Execution failed for task ':client:test:dexApiPhoneDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
C:\adt-bundle-windows\sdk\build-tools9.1.0\dx.bat --dex --num-threads=
.....
Error Code:
1
Output:
The command line is too long.
I’m on windows I know that maven had a similar issue that can be fixed using a trick as described in : http://stackoverflow.com/questions/8181098/the-command-line-is-too-long-in-java-project-with-maven
Does anyone have any idea how I could solve that? Thanks in advance.