Tough one this.
I'm unsure of a fix at present.
You can successfully run "ant" with the 64-bit JDK by adding this line to the
targets file for the Ant job:
ToolArchitecture ="Native64Bit"
It gets to the point where "aapt.exe" is ran (if you run ant.bat with -v on the
command-line it prints a little more info).
Unfortunately aapt.exe seems to be a 32-bit exe, and fails when executed.
The crux of the issue is that the VCTracker stuff (the code that detects
read/written files to generate dependency info) has to be set to run either
64-bit or 32-bit exes. It can't do both.
I think the only fix here would be to manually generate dependencies and run
ant without the VCTracker monitoring. Unfortunately the genuine dependencies
are very complicated.
Original issue reported on code.google.com by gavin.dj.pugh on 9 Feb 2015 at 8:29
Original issue reported on code.google.com by
gavin.dj.pugh
on 9 Feb 2015 at 8:29