I am trying to use the existing build.xml files generated for our projects in my company but I am finding a problem with the ant environment variables.
This is not set if I use VisualGDB.exe and then the build fails. It works well if I try to simply use ant and I can see how the environment variables are loaded and the sdk.dir variable is set properly.
Thanks for reporting this problem. Currently VisualGDB does not set ANDROID_SDK_ROOT. You can fix it by setting the variable before running Visual Studio: e.g. make a bat file containing the following lines:
"C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEdevenv.exe"
We will add the ANDROID_SDK_ROOT support to the next version of VisualGDB.