I am trying to build an Android project on our Debian build server with gradlew.
Each time I run it the build fails on the preDexDebug step with error 137 and the f
Yes, I have met this issue. I found out the problem is that dx.bat could not run because of config memory error. Change "set defaultXmx=-Xmx1024m" to "set defaultXmx=-Xmx512m" and run again. Ref link I found it: https://code.google.com/p/vs-android/issues/detail?id=15. Hope this help.
The problem was due to memory problems on the build server. Switching to a build server with more memory has fixed the problem.